Permalink
Browse files

fix failing test broken in 15fb788

  • Loading branch information...
1 parent cfb3019 commit ab3cf010ad4e7c3f56b5ec468c0c74e0d998b96d @amatsuda amatsuda committed Jan 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/shared_generator_tests.rb
@@ -48,7 +48,7 @@ def test_test_unit_is_skipped_if_required
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

0 comments on commit ab3cf01

Please sign in to comment.