aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-02-13 14:05:00 +0100
committerKasper Timm Hansen <kaspth@gmail.com>2016-02-13 14:05:00 +0100
commit3974edb9ceff244e813358483a036d12578f7cca (patch)
treea4754f0d40b3b29413c7eae99971cadd0cce2873
parente183227e5c7665b6505dd319724f1a540946b7ce (diff)
parentf653b3b3a12c419f0c7bc16ecfc3f9961f277feb (diff)
downloadrails-3974edb9ceff244e813358483a036d12578f7cca.tar.gz
rails-3974edb9ceff244e813358483a036d12578f7cca.tar.bz2
rails-3974edb9ceff244e813358483a036d12578f7cca.zip
Merge pull request #23655 from y-yagi/add_missing_option_to_example
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: