On 5 Oct 2008, at 12:26, Greg Hauptmann wrote:
BankAccount.any_instance.stubs(:balance?).returns(<as required>)).
Do people normal use the "any_instance.stubs" approach to stub out
existing classes already developed, as a means to minimize associated
Is this any_instance thing in the rspec mocking framework now? I
vaguely remember wanting this a few weeks ago and it was only in mocha
or another of the competing mocking frameworks.
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users