aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators
diff options
context:
space:
mode:
authorAkira Matsuda <ronnie@dio.jp>2013-01-05 05:44:03 +0900
committerAkira Matsuda <ronnie@dio.jp>2013-01-05 05:44:03 +0900
commitab3cf010ad4e7c3f56b5ec468c0c74e0d998b96d (patch)
tree8864fc84c8b0aa0d1b81d37ab3f4a86036e5a598 /railties/test/generators
parentcfb3019a1a7d699282a650b68cba7201b5e9f379 (diff)
downloadrails-ab3cf010ad4e7c3f56b5ec468c0c74e0d998b96d.tar.gz
rails-ab3cf010ad4e7c3f56b5ec468c0c74e0d998b96d.tar.bz2
rails-ab3cf010ad4e7c3f56b5ec468c0c74e0d998b96d.zip
fix failing test broken in 15fb7889c5566ddade1d8f74f49bbbc1c0be6057
Diffstat (limited to 'railties/test/generators')
-rw-r--r--railties/test/generators/shared_generator_tests.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb
index 1e5a4545a1..e4924c8386 100644
--- a/railties/test/generators/shared_generator_tests.rb
+++ b/railties/test/generators/shared_generator_tests.rb
@@ -48,7 +48,7 @@ module SharedGeneratorTests
def test_options_before_application_name_raises_an_error
content = capture(:stderr){ run_generator(["--pretend", destination_root]) }
- assert_match(/Options should be given after the \w+ name. For details run: rails( plugin)? --help\n/, content)
+ assert_match(/Options should be given after the \w+ name. For details run: rails( plugin new)? --help\n/, content)
end
def test_name_collision_raises_an_error