mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Mention ActiveRecord's config.example.yml
This will help people figure out what credentials and tables are required to run ActiveRecord specs.
This commit is contained in:
parent
0e18aece91
commit
c354eafd02
1 changed files with 6 additions and 4 deletions
|
@ -335,10 +335,12 @@ file.
|
|||
|
||||
#### Testing Active Record
|
||||
|
||||
First, create the databases you'll need. For MySQL and PostgreSQL,
|
||||
running the SQL statements `create database activerecord_unittest` and
|
||||
`create database activerecord_unittest2` is sufficient. This is not
|
||||
necessary for SQLite3.
|
||||
First, create the databases you'll need. You can find a list of the required
|
||||
table names, usernames, and passwords in `activerecord/test/config.example.yml`.
|
||||
|
||||
For MySQL and PostgreSQL, running the SQL statements `create database
|
||||
activerecord_unittest` and `create database activerecord_unittest2` is
|
||||
sufficient. This is not necessary for SQLite3.
|
||||
|
||||
This is how you run the Active Record test suite only for SQLite3:
|
||||
|
||||
|
|
Loading…
Reference in a new issue