diff options
author | Joshua Peek <josh@joshpeek.com> | 2010-01-29 20:27:23 -0600 |
---|---|---|
committer | Joshua Peek <josh@joshpeek.com> | 2010-01-29 20:27:23 -0600 |
commit | a06c47a52b90a5d812e64309488ad5926dc583ca (patch) | |
tree | ed76d632e8c87c42b533da8dff233bb93c5baa35 /railties/test/generators | |
parent | bddd1bb6268e8ac2142c8d8c738929d2f2e8447a (diff) | |
download | rails-a06c47a52b90a5d812e64309488ad5926dc583ca.tar.gz rails-a06c47a52b90a5d812e64309488ad5926dc583ca.tar.bz2 rails-a06c47a52b90a5d812e64309488ad5926dc583ca.zip |
Drop JS scripts from core
Diffstat (limited to 'railties/test/generators')
-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 |