search for: movietest

Displaying 1 result from an estimated 1 matches for "movietest".

Did you mean: movie_test
2005 Jan 15
0
Model syntax errors obscured during fixture load
...loading my fixtures is masking the error (I don''t get any notification of the syntax error, here, nor in the log). Bob bob@gemini:~/rails/windsong$ ruby -Ilib:test -S testrb test/unit/movie_test.rb Loaded suite movie_test.rb Started E Finished in 0.063497 seconds. 1) Error: test_basic(MovieTest): NoMethodError: undefined method `primary_key'' for nil:NilClass /usr/lib/ruby/gems/1.8/gems/activerecord-1.4.0/lib/active_record/fixtures.rb:298:in `find'' /usr/lib/ruby/gems/1.8/gems/activerecord-1.4.0/lib/active_record/fixtures.rb:149:in `instantiate_fixtures''...