mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #7044 from kytrinyx/documentation-ar-unit-tests
Add note about needing mysql superuser for unit tests.
This commit is contained in:
commit
c733b8e985
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue