ruby.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
If you are interested in the Ruby programming language, come join us! Tell us about yourself when signing up. If you just want to join Mastodon, another server will be a better place for you.

Administered by:

Server stats:

1.1K
active users

James :ruby:

Mocha v2.6.1 released

* Fix logic added in v2.6.0 for displaying deprecation warnings for expectation with never cardinality - thanks to @DavidStosik for reporting.

The following will still pass despite an erroneous deprecation warning displayed in v2.6.0 suggesting otherwise:

foo.expects(:bar).never
foo.expects(:bar).once
foo.bar

rubygems.org/gems/mocha/versio

rubygems.orgmocha | RubyGems.org | your community gem host
#ruby#testing#mock