rails / activejob

Declare job classes that can be run by a variety of queueing backends
743 stars 47 forks source link

Remove and ignore the dummy app's test sqlite database, take two #107

Closed packagethief closed 10 years ago

packagethief commented 10 years ago

Another take on https://github.com/rails/activejob/pull/105, which broke the tests.

Rails' test_help helper configures ActiveRecord to automatically maintain the test schema, creating the test db if necessary. We need to give it a little hint, though, by telling it where to find the dummy app's migrations. Otherwise it won't be able to find the latest migration version and will assume there's nothing to do.

seuros commented 10 years ago

LGTM

jeremy commented 10 years ago

:grin: