[rspec-users] pending tests fail when I switch to mock_with :mocha
Ole Morten Amundsen
ole.morten.amundsen at gmail.com
Fri Nov 12 08:23:59 EST 2010
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
it "should bla bla" do
pending "PENDING, shouldn't fail?"
it's ok: pending, but with
It expected the authenticate to be called. What do I have to do to make it
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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users