Fixtures
Learn about fixtures, fixtures files, fixture entry, and YAML.
Rails has always made it easy to manage a database just for test data automatically cleared between tests. While there’s no denying this is tremendously useful, it has also pulled all of us into feeling that a test that touches the database (a huge third-party dependency) is somehow a unit test. One of the most valuable ...