diff options
author | Jon Moss <maclover7@users.noreply.github.com> | 2016-01-19 13:49:48 -0500 |
---|---|---|
committer | Jon Moss <maclover7@users.noreply.github.com> | 2016-01-19 13:49:48 -0500 |
commit | 1347f08521881efacfc42a7284073272affc1d1e (patch) | |
tree | 58e75c6d20724ddde2a101f047d52133dec66e50 /guides/source/testing.md | |
parent | 3af3c19fd06feb8c705289c16b625cab3378c7e8 (diff) | |
parent | 352a8892fde37ae0b985ac4b8ff510edad40481d (diff) | |
download | rails-1347f08521881efacfc42a7284073272affc1d1e.tar.gz rails-1347f08521881efacfc42a7284073272affc1d1e.tar.bz2 rails-1347f08521881efacfc42a7284073272affc1d1e.zip |
Merge pull request #23119 from Gaurav2728/update_guide_to_bin_rails_command
use bin/rails default instead of rake commands [ci skip]
Diffstat (limited to 'guides/source/testing.md')
-rw-r--r-- | guides/source/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/testing.md b/guides/source/testing.md index 84f80e3c37..bb6d322357 100644 --- a/guides/source/testing.md +++ b/guides/source/testing.md @@ -399,11 +399,11 @@ structure. The test helper checks whether your test database has any pending migrations. If so, it will try to load your `db/schema.rb` or `db/structure.sql` into the test database. If migrations are still pending, an error will be raised. Usually this indicates that your schema is not fully migrated. Running -the migrations against the development database (`bin/rake db:migrate`) will +the migrations against the development database (`bin/rails db:migrate`) will bring the schema up to date. NOTE: If existing migrations required modifications, the test database needs to -be rebuilt. This can be done by executing `bin/rake db:test:prepare`. +be rebuilt. This can be done by executing `bin/rails db:test:prepare`. ### The Low-Down on Fixtures |