diff options
author | Prem Sichanugrist <s@sikac.hu> | 2013-02-06 01:03:17 -0500 |
---|---|---|
committer | Prem Sichanugrist <s@sikac.hu> | 2013-03-09 16:03:55 -0500 |
commit | 1a0c58b2988a24a783b4f9a658ac629922125551 (patch) | |
tree | 200137e5963c4bb96c22642b2d9e6135bc98cf5e /railties/CHANGELOG.md | |
parent | 176b57c5430ddae7668114994c35b3293b0a05a5 (diff) | |
download | rails-1a0c58b2988a24a783b4f9a658ac629922125551.tar.gz rails-1a0c58b2988a24a783b4f9a658ac629922125551.tar.bz2 rails-1a0c58b2988a24a783b4f9a658ac629922125551.zip |
Load fixtures only when running suites, or `-f`
* `rails test -f` will run the test suites with all fixtures loaded
* New application will now generated without `fixtures :all` line
enabled by default.
Diffstat (limited to 'railties/CHANGELOG.md')
-rw-r--r-- | railties/CHANGELOG.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 6bf9b22a2d..4145938063 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -19,6 +19,14 @@ *Terence Lee* +* Rails now generate a `test/test_helper.rb` file with `fixtures :all` commented out by default, + since we don't want to force loading all fixtures for user when a single test is run. However, + fixtures are still going to be loaded automatically for test suites. + + To force all fixtures to be create in your database, use `rails test -f` to run your test. + + *Prem Sichanugrist* + * Add `rails test` command to run the test suite To run the whole test suite: |