aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-02-13 21:51:52 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2016-02-13 21:54:33 +0900
commitf653b3b3a12c419f0c7bc16ecfc3f9961f277feb (patch)
treec4fac654fd57119583f2a81338f7ea672032560b
parent6e8d70e697cc0e90429cecc89dfe7c38cfb117ee (diff)
downloadrails-f653b3b3a12c419f0c7bc16ecfc3f9961f277feb.tar.gz
rails-f653b3b3a12c419f0c7bc16ecfc3f9961f277feb.tar.bz2
rails-f653b3b3a12c419f0c7bc16ecfc3f9961f277feb.zip
add missing name option to flash test example [ci skip]
-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 1c64b2c0ac..13f4446751 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -830,7 +830,7 @@ end
If we run our test now, we should see a failure:
```bash
-$ bin/rails test test/controllers/articles_controller_test.rb test_should_create_article
+$ bin/rails test test/controllers/articles_controller_test.rb -n test_should_create_article
Run options: -n test_should_create_article --seed 32266
# Running:
@@ -868,7 +868,7 @@ end
Now if we run our tests, we should see it pass:
```bash
-$ bin/rails test test/controllers/articles_controller_test.rb test_should_create_article
+$ bin/rails test test/controllers/articles_controller_test.rb -n test_should_create_article
Run options: -n test_should_create_article --seed 18981
# Running: