Things seem to be working better now that I am using just Mocha, however, I am still having problems with Foo.any_instance.stubs(:valid?).returns(false). I later tests, valid is still stubbed out to be false. How to I stub something for exactly the duration of one example?
Thanks, Sam -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users