Clone Your Test Database
bundle exec rake db:test:clone
Notes
- The only specs that pass when the test database is not configured properly should be tests that don't reference the test database
- db:test:clone is just a combination of db:schema:dump and db:test:load
- db:test:load is the same as db:schema:load, but it runs against the test (not development) database
No comments:
Post a Comment