On Tue, Nov 4, 2008 at 3:25 PM, aslak hellesoy <[EMAIL PROTECTED]>wrote:


> db:test:prepare is a shortcut for running all the migrations from the
> first to the last.
>

Not quite. db:test:prepare just copies the schema from the development
database to the test database. It aborts if there are any pending
migrations, but it doesn't actually run any. That's why any data population
in a migration does not get done in the test db.

///ark
_______________________________________________
rspec-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to