Take for example the following test fixture:
fixture_1: name: MyString username:
Throws the following error when executing the tests:
Mysql2::Error: Unknown column 'adapter' in 'field list':
However, I can load fixtures into the DB manually with no problems.
Using Rails 3.2.11 and Ruby 1.9.2.
Rails bug or am I doing something wrong?
rake db:test:preparebefore executing the tests – it seems you have added that field later to the development db, but not yet to the test db.
Originally posted 2013-11-09 19:44:13.