aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/isolation
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-13 09:48:34 -0800
committerGuillermo Iguaran <guilleiguaran@gmail.com>2013-12-13 09:48:34 -0800
commiteed8c85f4b9bd1cb408b6d972c353e30bdd591c7 (patch)
tree2261fa7a6d0c0dbea5d36b19671206ecfb3f4d07 /railties/test/isolation
parent92b92f1782cef7ca68daef6319930a5bbcc3845d (diff)
parentc1f4bc262884668217060d3a74ebafbf60bc44b3 (diff)
downloadrails-eed8c85f4b9bd1cb408b6d972c353e30bdd591c7.tar.gz
rails-eed8c85f4b9bd1cb408b6d972c353e30bdd591c7.tar.bz2
rails-eed8c85f4b9bd1cb408b6d972c353e30bdd591c7.zip
Merge pull request #13298 from rails/secret_tokens
Create config/secrets.yml file for store of tokens
Diffstat (limited to 'railties/test/isolation')
-rw-r--r--railties/test/isolation/abstract_unit.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/test/isolation/abstract_unit.rb b/railties/test/isolation/abstract_unit.rb
index 913e2b5e29..362c2c510a 100644
--- a/railties/test/isolation/abstract_unit.rb
+++ b/railties/test/isolation/abstract_unit.rb
@@ -119,7 +119,6 @@ module TestHelpers
add_to_config <<-RUBY
config.eager_load = false
- 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
@@ -139,7 +138,7 @@ module TestHelpers
app = Class.new(Rails::Application)
app.config.eager_load = false
- app.config.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4"
+ app.secrets.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4"
app.config.session_store :cookie_store, key: "_myapp_session"
app.config.active_support.deprecation = :log