diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-07-22 11:31:38 -0500 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2012-09-16 23:58:20 -0500 |
commit | 9881dbb8421ba7c2c3d3b606ff3812f229bb0967 (patch) | |
tree | a583f9e5b83db23f45899e8fec59e96dfcfc0760 /railties | |
parent | 8042835c157a4a7b567d23c7552a9b671f50328b (diff) | |
download | rails-9881dbb8421ba7c2c3d3b606ff3812f229bb0967.tar.gz rails-9881dbb8421ba7c2c3d3b606ff3812f229bb0967.tar.bz2 rails-9881dbb8421ba7c2c3d3b606ff3812f229bb0967.zip |
Remove attributes whitelist tests from AppGenerator tests
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index 7e1ebf48b7..e7b6a20b32 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -212,7 +212,6 @@ class AppGeneratorTest < Rails::Generators::TestCase run_generator [destination_root, "--skip-active-record"] assert_no_file "config/database.yml" assert_file "config/application.rb", /#\s+require\s+["']active_record\/railtie["']/ - assert_file "config/application.rb", /#\s+config\.active_record\.whitelist_attributes = true/ assert_file "test/test_helper.rb" do |helper_content| assert_no_match(/fixtures :all/, helper_content) end @@ -352,11 +351,6 @@ class AppGeneratorTest < Rails::Generators::TestCase end end - def test_active_record_whitelist_attributes_is_present_application_config - run_generator - assert_file "config/application.rb", /config\.active_record\.whitelist_attributes = true/ - end - def test_pretend_option output = run_generator [File.join(destination_root, "myapp"), "--pretend"] assert_no_match(/run bundle install/, output) |