From ec0f8ff23bdb98a977da30339c6a557e5ad59135 Mon Sep 17 00:00:00 2001 From: Melanie Gilman Date: Thu, 29 Jan 2015 15:44:26 -0500 Subject: Change option description and update test names --- railties/test/generators/plugin_generator_test.rb | 2 +- railties/test/generators/shared_generator_tests.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'railties/test/generators') diff --git a/railties/test/generators/plugin_generator_test.rb b/railties/test/generators/plugin_generator_test.rb index 2ceae75ad5..f67be97e79 100644 --- a/railties/test/generators/plugin_generator_test.rb +++ b/railties/test/generators/plugin_generator_test.rb @@ -339,7 +339,7 @@ class PluginGeneratorTest < Rails::Generators::TestCase end end - def test_skipping_test_unit + def test_skipping_test_files run_generator [destination_root, "--skip-test"] assert_no_file "test" assert_file "bukkits.gemspec" do |contents| diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb index 36b9241c08..68f07f29d7 100644 --- a/railties/test/generators/shared_generator_tests.rb +++ b/railties/test/generators/shared_generator_tests.rb @@ -47,7 +47,7 @@ module SharedGeneratorTests assert_match(/Invalid value for \-\-database option/, content) end - def test_test_unit_is_skipped_if_required + def test_test_files_are_skipped_if_required run_generator [destination_root, "--skip-test"] assert_no_file "test" end -- cgit v1.2.3