Fixture data not saved into test database

pixelhandler
Fri, 26 Jun 2009 07:06:09 -0000

I am using Authlogic  for user authentecation and create a users.yml
for fuctional testing. My unit tests pass, but functional tests fail;
since the fixture data wasn''t saved to the test database. I get errors
like: StandardError: No fixture with name ...

I few weeks back... the users.yml file was working fine and storing
user records in the test database. I think the update to Rails 2.3.2
change something or the Authlogic gem update.

I''ve tried dropping all my tables in both test and development
databases then running...

rake db:migrate
rake db:fixtures:load

...but the result is a user table with no records.

Is there something I need to add to my tests to store the fixture
data?

Many thanks,
-Bill