stub_everything should mean mock responds to anything
Reported by James Mead | January 29th, 2009 @ 12:49 PM
def test_should_respond_to_any_method_if_stubbing_everything mock = stub_everything assert mock.respond_to?(:abc) assert mock.respond_to?(:xyz) end
This test currently fails, but I think it should pass.
Comments and changes to this ticket
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
A mocking & stubbing library for Ruby.
* <a href="http://github.com/floehopper/mocha">GitHub repository</a>
* <a href="http://mocha.rubyforge.org">Documentation</a>
* <a href="http://groups.google.com/group/mocha-developer">Mailing List</a>