mocha
mocha copied to clipboard
More relaxed version of Mocha::Configuration.prevent(:stubbing_non_existent_method)
Add a more relaxed version of Mocha::Configuration.prevent(:stubbing_non_existent_method) as per rspec-fire and/or bogus so that mocks run as per usual in isolated tests, but check they conform to the real "interface" when run all together.
This might mean we could set this mode as the default.
:+1: that was what I loved the most in RSpec 3. Now I'm trying out mocha with MiniTest and I really miss it. I have to either write lots of integration tests or have brittle unit tests.
This is under consideration in #149. Closing.