First of all, please direct me into how better to search existing threads in this mailing list.
Ok to my rspec 2.0.1 mocha 0.9.8 issue: given a controller test before do subject.expects(:authenticate).once end it "should bla bla" do pending "PENDING, shouldn't fail?" end with config.mock_with :rspec it's ok: pending, but with config.mock_with :mocha if fails! It expected the authenticate to be called. What do I have to do to make it compatible? Reason for using mocha, is A: I'm used to it B: I don't know rspec mocks too well, but it notice that these mocks live across tests, breaking unrelated model specs. cheers! oma
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users