I'm trying to add test fixtures to a rails (v 3.1.3) app that uses multiple databases. The fixture should be applied only to the applications own test sqlite database:
test:
adapter: sqlite3
database: db/test.sqlite3
pool: 5
timeout: 5000
The 2 other databases are mysql and also have test instances called %dbname%_test and are already filled with test data.
After I added the fixtures all my test fail with "ActiveRecord::StatementInvalid: Mysql::Error: Unknown column" errors as rails is trying to apply the fixture to one of the mysql databases.
Is there a way to specify which database a fixture is made for?