aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@plataformatec.com.br>2013-12-24 19:29:24 +0100
committerJosé Valim <jose.valim@plataformatec.com.br>2013-12-24 19:29:31 +0100
commitf89c5f46b57fdb817d44e33f8e43f7417bd8792f (patch)
tree669593833f40b8ca923d2eed145547ef08018af0
parentdb22a5a8ebc39954432c3a943cf8f4b9b9eb9868 (diff)
downloadrails-f89c5f46b57fdb817d44e33f8e43f7417bd8792f.tar.gz
rails-f89c5f46b57fdb817d44e33f8e43f7417bd8792f.tar.bz2
rails-f89c5f46b57fdb817d44e33f8e43f7417bd8792f.zip
Revert "Ensure secret_key_base is set for all environments"
A better solution has been pushed to master. This reverts commit 959cfcef7255bba720ce3f15323056533ea7b50a.
-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 fe173e7159..a1f1973563 100644
--- a/railties/test/isolation/abstract_unit.rb
+++ b/railties/test/isolation/abstract_unit.rb
@@ -137,7 +137,6 @@ 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
@@ -157,8 +156,8 @@ module TestHelpers
require "action_view/railtie"
app = Class.new(Rails::Application)
- app.secrets.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4"
app.config.eager_load = false
+ app.secrets.secret_key_base = "3b7cd727ee24e8444053437c36cc66c4"
app.config.session_store :cookie_store, key: "_myapp_session"
app.config.active_support.deprecation = :log