Skip to content

Commit

Permalink
Ensure secret_key_base is set for all environments
Browse files Browse the repository at this point in the history
  • Loading branch information
José Valim committed Dec 24, 2013
1 parent 6570448 commit 959cfce
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion railties/test/isolation/abstract_unit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,7 @@ 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
Expand All @@ -155,8 +156,8 @@ def make_basic_app
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

Expand Down

0 comments on commit 959cfce

Please sign in to comment.