Skip to content

Commit 2819b54

Browse files
committed
Use config.secret_key_base in test_helper instead
1 parent 8476ad1 commit 2819b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def silence_warnings
3939
class TestApp < Rails::Application
4040
config.root = __dir__
4141
config.session_store :cookie_store, key: "cookie_store_key"
42-
secrets.secret_key_base = "secret_key_base"
42+
config.secret_key_base = "secret_key_base"
4343
config.eager_load = false
4444
config.hosts = []
4545

0 commit comments

Comments
 (0)