diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2012-11-02 20:27:51 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2012-11-03 14:57:54 -0200 |
commit | 4faa0418453055bc81456685d418d486252cc379 (patch) | |
tree | acf0453393b953c6fd4c2145ef70ded6c9baeb05 /railties/test/isolation | |
parent | c2a7956eb7fbc099ea38d21601d215ab3def27fb (diff) | |
download | rails-4faa0418453055bc81456685d418d486252cc379.tar.gz rails-4faa0418453055bc81456685d418d486252cc379.tar.bz2 rails-4faa0418453055bc81456685d418d486252cc379.zip |
Rename secret_token_key to secret_key_base
Diffstat (limited to 'railties/test/isolation')
-rw-r--r-- | railties/test/isolation/abstract_unit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index 2c92f2ded5..0cb65f8e0d 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -119,7 +119,7 @@ module TestHelpers add_to_config <<-RUBY config.eager_load = false - config.secret_token_key = "3b7cd727ee24e8444053437c36cc66c4" + config.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4" config.session_store :cookie_store, key: "_myapp_session" config.active_support.deprecation = :log config.action_controller.allow_forgery_protection = false @@ -138,7 +138,7 @@ module TestHelpers app = Class.new(Rails::Application) app.config.eager_load = false - app.config.secret_token_key = "3b7cd727ee24e8444053437c36cc66c4" + app.config.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4" app.config.session_store :cookie_store, key: "_myapp_session" app.config.active_support.deprecation = :log |