aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators_test.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-03 21:26:28 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-05-03 21:26:28 -0300
commitb67197ee30afb6d09e8c56fbde5eeacd3aece6d7 (patch)
tree03820e8ab2b2c8819ca8442a4942510059672fd4 /railties/test/generators_test.rb
parent35867c0beed7077139fe64eeb729fada448ed1e7 (diff)
downloadrails-b67197ee30afb6d09e8c56fbde5eeacd3aece6d7.tar.gz
rails-b67197ee30afb6d09e8c56fbde5eeacd3aece6d7.tar.bz2
rails-b67197ee30afb6d09e8c56fbde5eeacd3aece6d7.zip
Fix generator tests
In my machine the output is different
Diffstat (limited to 'railties/test/generators_test.rb')
-rw-r--r--railties/test/generators_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb
index fdcfb30090..ce75aba4eb 100644
--- a/railties/test/generators_test.rb
+++ b/railties/test/generators_test.rb
@@ -37,7 +37,7 @@ class GeneratorsTest < Rails::Generators::TestCase
def test_generator_multiple_suggestions
name = :tas
output = capture(:stdout){ Rails::Generators.invoke name }
- assert_match "Maybe you meant 'task', 'job' or 'assets'", output
+ assert_match "Maybe you meant 'task', 'job' or", output
end
def test_help_when_a_generator_with_required_arguments_is_invoked_without_arguments