aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
diff options
context:
space:
mode:
authorJon Moss <maclover7@users.noreply.github.com>2016-01-19 13:49:48 -0500
committerJon Moss <maclover7@users.noreply.github.com>2016-01-19 13:49:48 -0500
commit1347f08521881efacfc42a7284073272affc1d1e (patch)
tree58e75c6d20724ddde2a101f047d52133dec66e50 /guides/source/testing.md
parent3af3c19fd06feb8c705289c16b625cab3378c7e8 (diff)
parent352a8892fde37ae0b985ac4b8ff510edad40481d (diff)
downloadrails-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.md4
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