Displaying 1 result from an estimated 1 matches for "test_created_at".
2007 Mar 23
2
Mocha 0.4.0 Hates My App
...within
my app. Today I decided to upgrade from Mocha 0.3.2 to Mocha 0.4.0.
So I updated the gem, started rake and went to get some coffee. I
came back 5 mins later and my units (which were clean) are now
reporting 97 failures (!!!). Every failure reports a callstack like
this:
18) Error:
test_created_at(EntityTest):
NoMethodError: You have a nil object when you didn''t expect it!
The error occured while evaluating nil.created_at
./test/unit/entity_test.rb:199:in `test_created_at''
/opt/local/lib/ruby/gems/1.8/gems/mocha-0.4.0/lib/mocha/
test_case_adapter.rb:19:in `run...