diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-18 05:18:59 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-06-18 05:18:59 +0000 |
commit | 4f00d181d5a6c01aeb1c19f8ab002153a39c8a17 (patch) | |
tree | dfd7bf91973370d0cb62ef3af168b9bb8173fc43 | |
parent | a49a784dc7e8c45065d072aa99f1cda18c9322bb (diff) | |
download | rails-4f00d181d5a6c01aeb1c19f8ab002153a39c8a17.tar.gz rails-4f00d181d5a6c01aeb1c19f8ab002153a39c8a17.tar.bz2 rails-4f00d181d5a6c01aeb1c19f8ab002153a39c8a17.zip |
Document better #1057
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1452 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
-rwxr-xr-x | activerecord/lib/active_record/fixtures.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/fixtures.rb b/activerecord/lib/active_record/fixtures.rb index 3aa8920815..3c43ab7636 100755 --- a/activerecord/lib/active_record/fixtures.rb +++ b/activerecord/lib/active_record/fixtures.rb @@ -101,8 +101,8 @@ require 'csv' # ... # # By adding a "fixtures" method to the test case and passing it a list of symbols (only one is shown here tho), we trigger -# the testing environment to automatically load the appropriate fixtures into the database before each test, and -# automatically delete them after each test. +# the testing environment to automatically load the appropriate fixtures into the database before each test. +# To ensure consistent data, the environment deletes the fixtures before running the load. # # In addition to being available in the database, the fixtures are also loaded into a hash stored in an instance variable # of the test case. It is named after the symbol... so, in our example, there would be a hash available called |