Rob Wilkerson wrote: > Clearly I've missed something b/c my unit test output is: > > $ ruby unit/binary_test.rb > Loaded suite unit/binary_test > Started > E > Finished in 0.00438 seconds. > > 1) Error: > test_should_be_valid(BinaryTest): > ActiveRecord::StatementInvalid: Mysql::Error: Table > 'rphoto_test.files' doesn't exist: DELETE FROM `files` > > > 1 tests, 0 assertions, 0 failures, 1 errors > > I did update my test db using rake db:test:load. Can someone point me > in the right direction? > > Much appreciated.
Sounds like fixtures, check your fixtures folder for the culprit Secondly, in the future when you make a new model though the generators, observe the files it creates, then if you have to reverse, you will know what to delete.. hth ilan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---

