[rspec-users] anyone able to explain logic behind "rake spec" startup (e.g. db:test:prepare => abort_if_pending_migration => invoke environment => etc etc)
mark at mwilden.com
Thu Nov 6 10:36:41 EST 2008
On Thu, Nov 6, 2008 at 4:01 AM, Hongli Lai <hongli at plan99.net> wrote:
> 'spec' depends on 'db:test:prepare'. 'db:test:prepare' runs any pending
> migrations on your development database, and copies the schema structure to
> the test database. This is to keep the development database's structure and
> the test database's structure in sync.
> db:test:prepare does not run migrations. It simply checks whether there are
any pending migrations and aborts if there are.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the rspec-users