Monthly Archives: July 2011

Rake db:test:beware

Ruby on Rails Cucumber testing

Thought Id blog something Ive noticed today, was unaware that:

rake db:test:prepare

Uses the Schema.rb file to rebuild the test database, so if you have manually changed your database then you are not creating a true copy of your database for test.

So I guess never stray from using migrations!