Skip to content
This repository
Browse code

Replace config.secret_key_base with secrets.secret_key_base in test

  • Loading branch information...
commit 404314779263e120ce0da5ae62f09c19114476d7 1 parent 3eaa298
Guillermo Iguaran authored December 12, 2013
2  railties/test/application/middleware/session_test.rb
@@ -318,7 +318,7 @@ def read_raw_cookie
318 318
 
319 319
       add_to_config <<-RUBY
320 320
         config.secret_token = "3b7cd727ee24e8444053437c36cc66c4"
321  
-        config.secret_key_base = nil
  321
+        secrets.secret_key_base = nil
322 322
       RUBY
323 323
 
324 324
       require "#{app_path}/config/environment"

0 notes on commit 4043147

Please sign in to comment.
Something went wrong with that request. Please try again.