aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/testing.md
diff options
context:
space:
mode:
authorGaurav Sharma <gaurav2728@gmail.com>2016-01-19 16:38:56 +0530
committerGaurav Sharma <gaurav2728@gmail.com>2016-01-19 23:47:14 +0530
commit352a8892fde37ae0b985ac4b8ff510edad40481d (patch)
tree58e75c6d20724ddde2a101f047d52133dec66e50 /guides/source/testing.md
parent3af3c19fd06feb8c705289c16b625cab3378c7e8 (diff)
downloadrails-352a8892fde37ae0b985ac4b8ff510edad40481d.tar.gz
rails-352a8892fde37ae0b985ac4b8ff510edad40481d.tar.bz2
rails-352a8892fde37ae0b985ac4b8ff510edad40481d.zip
use bin/rails default instead of rake commands [ci skip]
I go through the `http://edgeguides.rubyonrails.org/` and found `rake` commands in various files that are in RAILS 5.0 implement by `bin/rails` command. I try to change all that can be directly use `bin/rails …`
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