Displaying 2 results from an estimated 2 matches for "entitytest".
Did you mean:
entity_test
2007 Mar 23
2
Mocha 0.4.0 Hates 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''
In...
2009 Feb 02
2
looking for help with NoMethodError: undefined method `key?' for #<String:0x4795488>
...appreciated. I''m using instant rails,
updated to 2.2.2, on Windows XP.
I''ve created my DB and scaffolded a few things and put some fixtures
into place, and when I run the tests I get many errors that look like
this:
---------------------------------
1) Error:
test_the_truth(EntityTest):
NoMethodError: undefined method `key?'' for #<String:0x4795488>
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/fixtures.rb:584:in `insert_fixtures''
C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.2.2/lib/
active_record/f...