[mocha-developer] Mocha and rails 2.0.2?
ned.wolpert at gmail.com
Fri Dec 21 11:02:52 EST 2007
With Rails 2.0.2, I'm seeing mocha failures where they did not fail
with Rails 2.0.1
NoMethodError: undefined method `ord' for 63:Fixnum
In this case, the line that is blowing up is this one:
and fails with this too...
further checking show it fails with stubs, like this...
Note I can stub or expect other methods, like save! or even 'new'..
the following works fine...
Its possible I'm not doing this in a way that makes sense...
specifically, I want to stub out the method 'exists?' to return true
when its called twice. Again, it worked fine in all rails versions up
to 2.0.2, and only fails with rails 2.0.2...
Is it me?
Virtually, Ned Wolpert
"Settle thy studies, Faustus, and begin..." --Marlowe
More information about the mocha-developer