James Mead
Account owner
James Mead's latest activity
Thursday, January 29 2009
-
James Mead commented at 1:13 PMI'm wondering whether it would be better to introduce the idea of Method Matchers as a more flexible alternative to stub_everything. So stub_everything would be...
-
- State changed from new to resolved
Fixed in http://github.com/floehopper/moc...
-
James Mead created the ticket at 12:49 PMdef test_should_respond_to_any_method_if_stubbing_everything mock = stub_everything assert mock.respond_to?(:abc) assert mock.respond_to?(:xyz...
-
- Tag set to bug-report
- State changed from new to resolved
Fixed in a slightly different way [1].
I'm marking this as resolved - please reopen it if you're not happy with the solution.
Thanks, James.
Monday, January 26 2009
-
- State changed from new to resolved
This was released some time ago in 0.9.2, so I'm marking it as "resolved".
Please let us know if it's not working for you.
Thanks, James.
-
- State changed from new to invalid
I can't reproduce this bug. I've run your test as Test::Unit tests with Rails 2.2, Mocha 0.9.4 and Ruby 1.8.6. The test passes.
I'm marking this ticket as "inva...
Thursday, January 08 2009
Sunday, January 04 2009
-
- Tag set to feature-request
John Hume made a useful suggestion in http://rubyforge.org/pipermail/m...
His idea is to have the option to return a "stub_everything" which has some knowledge...
-
James Mead created the ticket at 5:13 PMQuote from Nathan Zook:-
If klass < ActiveRecord::Base, klass.public_instance_methods should include the attribute setters even before any instance of klass has...