On 21 Feb 2009, at 20:51, Hello Guy wrote:
> > hello all, > > i have a problem with test_truth. > > > require 'test_helper' > > class MyDataTest < ActiveSupport::TestCase > def test_truth > assert true > end > > end > > this should ok without failures or errors. but it failure: > > 1) Error: > test_truth(MyDataTest): > ActiveRecord::StatementInvalid: Mysql::Error: Table > 'alldataserver_test.members' doesn't exist: DELETE FROM `members` > > whats here wrong? > i understand table members is not exist in alldataserver_test, but > why? > here is a mistake with migration i think, can someone help me? > it means that there is a fixtures file called members.yml so rails helpfully tries to load it into your test database but there is no such table. Fred > > lg > -- > 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 -~----------~----~----~----~------~----~------~--~---

