search for: organization_test

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

2006 Aug 14
6
Testing fails with fixtures not when invoked directly
...e but works if I do the test by itself ruby test/unit/test_organization.rb => this works rake => fails D:\workspace\directory>rake (in D:/workspace/directory) c:/ruby/bin/ruby -Ilib;test "c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1 /lib/rake/rake_test_load er.rb" "test/unit/organization_test.rb" "test/unit/phone_test.rb" Loaded suite c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.1 /lib/rake/rake_test_loader Started EEE Finished in 0.14 seconds. 1) Error: test_department_company_defaults_to_parent(OrganizationTest): NoMethodError: You have a nil object when you didn''...