Topic: jeremy Myssql bug when testing

For begining I m not speek english very well, So be nice with my language.

I use win7, NetBeans 6.9.1, ruby 1.9.2, rails 3.0.3.

I use the tutorial above to learn about ruby on rails :
I follow the tutorial up to the chapter "Validating Input" point 8. In this point I have the next error :

Test-unit version : 2.1.2 loaded
(in C:/Users/jcourbat/Documents/NetBeansProjects/rubyweblog) Loaded suite C:/Ruby192/lib/ruby/1.9.1/rake/rake_test_loader
Finished in 2.362000 seconds.

1) Error: test_invalid_with_empty_attributes(PostTest):
ActiveRecord::StatementInvalid: Mysql2::Error: Table 'rubyweblog_test.posts' doesn't exist: DELETE FROM posts

I do all the things in the tutorial. I try to do this through the cmd but same bug appears.

I hope you can help me because i search in a lot of forum but no answer.


Last edited by jeremy.courbat (2010-12-17 06:56:52)