[Rails-core] AR Unit Tests

Bob Silva me at bobsilva.com
Fri Feb 10 05:24:11 GMT 2006


I know this is probably a dumb question, but should all the AR unit tests be
succeeding for mysql?

 

I am running them on 2 separate installs with rake test_mysql and get
similar errors on both.

 

Just curious if mysql is designed to pass all the tests.

 

3 of these:

 

test_lock_column_name_existing(LockingTest):

ActiveRecord::StatementInvalid: Mysql::Error: #42S02Table
'activerecord_unittest.legacy_things' doesn't exist: DELETE FROM
legacy_things

 

 

And a bunch of these:

 

test_has_child(TreeTest):

ActiveRecord::RecordNotFound: Couldn't find Mixin with ID=1001

 

 

This is all run off trunk with:

 

rake AR_TX_FIXTURES=yes test_mysql

 

 

 

Bob Silva

http://www.railtie.net/

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails-core/attachments/20060210/7a710f4b/attachment.html


More information about the Rails-core mailing list