From f89c5f46b57fdb817d44e33f8e43f7417bd8792f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Valim?= Date: Tue, 24 Dec 2013 19:29:24 +0100 Subject: Revert "Ensure secret_key_base is set for all environments" A better solution has been pushed to master. This reverts commit 959cfcef7255bba720ce3f15323056533ea7b50a. --- railties/test/isolation/abstract_unit.rb | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3