Rails Testing
Notes
- When running unit tests, make sure that the development and test database are the same migration version. If not, the test database will revert to the version of the development database, because Rails gets the schema dump from the development database and not from the test database.
References