aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators_test.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2015-04-25 19:15:34 -0400
committerArthur Neves <arthurnn@gmail.com>2015-04-25 19:15:34 -0400
commit6a7cf515123889360d272e8ab4be045578dfc0fb (patch)
tree8d22329ba35d51a36f2d4bcc72745bde5fc54817 /railties/test/generators_test.rb
parentb3a16b61fa0b734523e5d225c88d50632b22e9f7 (diff)
downloadrails-6a7cf515123889360d272e8ab4be045578dfc0fb.tar.gz
rails-6a7cf515123889360d272e8ab4be045578dfc0fb.tar.bz2
rails-6a7cf515123889360d272e8ab4be045578dfc0fb.zip
Fix multiple suggestion test
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..c1c92e9d37 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 'mailer'", output
end
def test_help_when_a_generator_with_required_arguments_is_invoked_without_arguments