Permalink
Browse files

Replace config.secret_key_base with secrets.secret_key_base in test

  • Loading branch information...
1 parent 3eaa298 commit 404314779263e120ce0da5ae62f09c19114476d7 @guilleiguaran guilleiguaran committed Dec 12, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/application/middleware/session_test.rb
@@ -318,7 +318,7 @@ def read_raw_cookie
add_to_config <<-RUBY
config.secret_token = "3b7cd727ee24e8444053437c36cc66c4"
- config.secret_key_base = nil
+ secrets.secret_key_base = nil
RUBY
require "#{app_path}/config/environment"

0 comments on commit 4043147

Please sign in to comment.