diff options
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index f821f5caf3..02ca8a3375 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -86,15 +86,13 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file "config/boot.rb", /# require "active_record\/railtie"/ end - def test_prototype_and_test_unit_are_added_by_default + def test_test_unit_is_added_by_default run_generator - assert_file "public/javascripts/prototype.js" assert_file "test" end - def test_prototype_and_test_unit_are_skipped_if_required - run_generator [destination_root, "--skip-prototype", "--skip-testunit"] - assert_no_file "public/javascripts/prototype.js" + def test_test_unit_is_skipped_if_required + run_generator [destination_root, "--skip-testunit"] assert_no_file "test" end |