diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-03-14 14:36:15 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-03-14 14:47:20 -0300 |
commit | 2963ee6b4bbdb288de8a1245d4fbaa67dd256139 (patch) | |
tree | e6c03ef7283f79864bb4cb3150e940791b886d0f /railties/test/isolation | |
parent | da074335783521737a12fe583157b3c35f9da5ed (diff) | |
download | rails-2963ee6b4bbdb288de8a1245d4fbaa67dd256139.tar.gz rails-2963ee6b4bbdb288de8a1245d4fbaa67dd256139.tar.bz2 rails-2963ee6b4bbdb288de8a1245d4fbaa67dd256139.zip |
Fix scaffold controller template, ensure rake scaffold test pass by default
Diffstat (limited to 'railties/test/isolation')
-rw-r--r-- | railties/test/isolation/abstract_unit.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index dc52c79fb5..ac4c2abfc8 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -116,7 +116,12 @@ module TestHelpers end end - add_to_config 'config.secret_token = "3b7cd727ee24e8444053437c36cc66c4"; config.session_store :cookie_store, :key => "_myapp_session"; config.active_support.deprecation = :log' + add_to_config <<-RUBY + config.secret_token = "3b7cd727ee24e8444053437c36cc66c4" + config.session_store :cookie_store, :key => "_myapp_session" + config.active_support.deprecation = :log + config.action_controller.allow_forgery_protection = false + RUBY end def teardown_app |