aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators_test.rb
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-06-03 20:53:05 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-06-03 20:53:05 +0900
commitf7fd680a6de195d78286332c6021afe068ad6bd6 (patch)
tree824902502deda37edd3495542cd2362faa8f63fe /railties/test/generators_test.rb
parentfa31a06de58af6822080ebb69775340fd6219e8d (diff)
downloadrails-f7fd680a6de195d78286332c6021afe068ad6bd6.tar.gz
rails-f7fd680a6de195d78286332c6021afe068ad6bd6.tar.bz2
rails-f7fd680a6de195d78286332c6021afe068ad6bd6.zip
Remove unnecessary test
Since #32289, `Spellchecker.suggest` returns only one value, multiple suggestions not output.
Diffstat (limited to 'railties/test/generators_test.rb')
-rw-r--r--railties/test/generators_test.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/test/generators_test.rb b/railties/test/generators_test.rb
index a16a2d3f0a..f98c1f78f7 100644
--- a/railties/test/generators_test.rb
+++ b/railties/test/generators_test.rb
@@ -49,12 +49,6 @@ class GeneratorsTest < Rails::Generators::TestCase
I18n.default_locale = orig_default_locale
end
- def test_generator_multiple_suggestions
- name = :tas
- output = capture(:stdout) { Rails::Generators.invoke name }
- assert_match 'Maybe you meant "task"?', output
- end
-
def test_help_when_a_generator_with_required_arguments_is_invoked_without_arguments
output = capture(:stdout) { Rails::Generators.invoke :model, [] }
assert_match(/Description:/, output)