aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/shared_generator_tests.rb
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-29 19:04:47 -0200
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-01-29 19:04:47 -0200
commit48164498988e21e0e785592c7291f128838049f3 (patch)
treef7dabe14e2441974cdc17964811790a738dc6870 /railties/test/generators/shared_generator_tests.rb
parent38dd7939e67c127ebbd6cfbb81107b41474d744a (diff)
parentec0f8ff23bdb98a977da30339c6a557e5ad59135 (diff)
downloadrails-48164498988e21e0e785592c7291f128838049f3.tar.gz
rails-48164498988e21e0e785592c7291f128838049f3.tar.bz2
rails-48164498988e21e0e785592c7291f128838049f3.zip
Merge pull request #18705 from mrgilman/skip-test
Update option to skip test in generators
Diffstat (limited to 'railties/test/generators/shared_generator_tests.rb')
-rw-r--r--railties/test/generators/shared_generator_tests.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb
index b998fef42e..68f07f29d7 100644
--- a/railties/test/generators/shared_generator_tests.rb
+++ b/railties/test/generators/shared_generator_tests.rb
@@ -47,8 +47,8 @@ module SharedGeneratorTests
assert_match(/Invalid value for \-\-database option/, content)
end
- def test_test_unit_is_skipped_if_required
- run_generator [destination_root, "--skip-test-unit"]
+ def test_test_files_are_skipped_if_required
+ run_generator [destination_root, "--skip-test"]
assert_no_file "test"
end