diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2013-12-24 16:35:43 +0100 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2013-12-24 16:35:43 +0100 |
commit | 959cfcef7255bba720ce3f15323056533ea7b50a (patch) | |
tree | 96170600088a51192fc3c50022c76bcbd36ddc75 /railties/test | |
parent | 6570448dcd4016f5d8052c450d9a7fbdb9bb0f0e (diff) | |
download | rails-959cfcef7255bba720ce3f15323056533ea7b50a.tar.gz rails-959cfcef7255bba720ce3f15323056533ea7b50a.tar.bz2 rails-959cfcef7255bba720ce3f15323056533ea7b50a.zip |
Ensure secret_key_base is set for all environments
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/isolation/abstract_unit.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb index a03b34bd16..bf0fdea89a 100644 --- a/railties/test/isolation/abstract_unit.rb +++ b/railties/test/isolation/abstract_unit.rb @@ -136,6 +136,7 @@ module TestHelpers end add_to_config <<-RUBY + secrets.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4" config.eager_load = false config.session_store :cookie_store, key: "_myapp_session" config.active_support.deprecation = :log @@ -155,8 +156,8 @@ module TestHelpers require "action_view/railtie" app = Class.new(Rails::Application) - app.config.eager_load = false app.secrets.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4" + app.config.eager_load = false app.config.session_store :cookie_store, key: "_myapp_session" app.config.active_support.deprecation = :log |