Permalink
Browse files

Revert "Ensure secret_key_base is set for all environments"

A better solution has been pushed to master.

This reverts commit 959cfce.
  • Loading branch information...
1 parent db22a5a commit f89c5f46b57fdb817d44e33f8e43f7417bd8792f @josevalim josevalim committed Dec 24, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 railties/test/isolation/abstract_unit.rb
@@ -137,7 +137,6 @@ def build_app(options = {})
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 @@ def make_basic_app
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

0 comments on commit f89c5f4

Please sign in to comment.