1
0
Fork 0
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:
Olivier Lacan 2017-01-19 19:43:44 +01:00 committed by GitHub
parent 0e18aece91
commit c354eafd02

View file

@ -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: