mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
parent
9024fa31e2
commit
b4ee2d5f65
1 changed files with 13 additions and 3 deletions
|
@ -381,9 +381,19 @@ $ SEED=15002 bundle exec ruby -w -Itest test/mail_layout_test.rb
|
||||||
First, create the databases you'll need. You can find a list of the required
|
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`.
|
table names, usernames, and passwords in `activerecord/test/config.example.yml`.
|
||||||
|
|
||||||
For MySQL and PostgreSQL, running the SQL statements `create database
|
For MySQL and PostgreSQL, it is sufficient to run:
|
||||||
activerecord_unittest` and `create database activerecord_unittest2` is
|
|
||||||
sufficient. This is not necessary for SQLite3.
|
```bash
|
||||||
|
$ cd activerecord
|
||||||
|
$ bundle exec rake db:mysql:build
|
||||||
|
```
|
||||||
|
Or:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ cd activerecord
|
||||||
|
$ bundle exec rake db:postgresql:build
|
||||||
|
```
|
||||||
|
This is not necessary for SQLite3.
|
||||||
|
|
||||||
This is how you run the Active Record test suite only for SQLite3:
|
This is how you run the Active Record test suite only for SQLite3:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue