Mocha v2.7.0 released
This fixes a long-time bug so that the following will fail fast instead of passing:
foo.stubs(:bar)
foo.expects(:bar).never
foo.bar # => unexpected invocation error
https://rubygems.org/gems/mocha/versions/2.7.0
[#]ruby #testing #mock #mocking
=> More informations about this toot | More toots from floehopper@ruby.social
@floehopper This found a bug in one of our tests. Yay! Thanks!
=> More informations about this toot | More toots from zhenech@chaos.social
@zhenech ❤️
=> More informations about this toot | More toots from floehopper@ruby.social This content has been proxied by September (ba2dc).Proxy Information
text/gemini