diff options
author | Xavier Noria <fxn@hashref.com> | 2012-07-13 10:47:29 -0700 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2012-07-13 10:47:29 -0700 |
commit | c733b8e985d342435d6978ee3b806daa84ec64d6 (patch) | |
tree | 986fe8571c2ba0a188c59cd9ce061b5a504eba9e /activerecord | |
parent | a734902e9a1c64dd36b0ff08db44707c9f870e17 (diff) | |
parent | 7e5c6863f34304cd858966e86d43690212992704 (diff) | |
download | rails-c733b8e985d342435d6978ee3b806daa84ec64d6.tar.gz rails-c733b8e985d342435d6978ee3b806daa84ec64d6.tar.bz2 rails-c733b8e985d342435d6978ee3b806daa84ec64d6.zip |
Merge pull request #7044 from kytrinyx/documentation-ar-unit-tests
Add note about needing mysql superuser for unit tests.
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/RUNNING_UNIT_TESTS | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activerecord/RUNNING_UNIT_TESTS b/activerecord/RUNNING_UNIT_TESTS index 2c310e7ac3..7f512e06fb 100644 --- a/activerecord/RUNNING_UNIT_TESTS +++ b/activerecord/RUNNING_UNIT_TESTS @@ -1,8 +1,13 @@ +If you don't have the environment set make sure to read +http://edgeguides.rubyonrails.org/contributing_to_ruby_on_rails.html#testing-active-record. + == Configure databases Copy test/config.example.yml to test/config.yml and edit as needed. Or just run the tests for the first time, which will do the copy automatically and use the default (sqlite3). +Create a mysql superuser named 'rails' that does not have a password. + You can build postgres and mysql databases using the postgresql:build_databases and mysql:build_databases rake tasks. == Running the tests |