Skip to content
This repository
Browse code

fix failing test broken in 15fb788

  • Loading branch information...
commit ab3cf010ad4e7c3f56b5ec468c0c74e0d998b96d 1 parent cfb3019
Akira Matsuda authored January 05, 2013
2  railties/test/generators/shared_generator_tests.rb
@@ -48,7 +48,7 @@ def test_test_unit_is_skipped_if_required
48 48
 
49 49
   def test_options_before_application_name_raises_an_error
50 50
     content = capture(:stderr){ run_generator(["--pretend", destination_root]) }
51  
-    assert_match(/Options should be given after the \w+ name. For details run: rails( plugin)? --help\n/, content)
  51
+    assert_match(/Options should be given after the \w+ name. For details run: rails( plugin new)? --help\n/, content)
52 52
   end
53 53
 
54 54
   def test_name_collision_raises_an_error

0 notes on commit ab3cf01

Please sign in to comment.
Something went wrong with that request. Please try again.