Displaying 1 result from an estimated 1 matches for "test_validate_range".
2006 Jun 07
6
I want to stick my models in a module
...ick in
the Trainer module. I''ve changed the definition to
class Trainer::Player
I''ve created a models/trainer dir, test/unit/trainer, and
test/fixtures/trainer. Change the PlayerTest class to be
Trainer::PlayerTest. I get the following error when I try to run it:
4) Error:
test_validate_range(Trainer::PlayerTest):
FixtureClassNotFound: The class "Player" was not found.
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/fixtures.rb:403:in
`find''
/usr/local/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/fixtures.rb:478:in
`play...