From ee3d983e8c0cd9efd8f636be93138663ec56d8bb Mon Sep 17 00:00:00 2001 From: Prem Sichanugrist Date: Fri, 10 May 2024 19:37:32 +0900 Subject: [PATCH] Use config.secret_key_base in test_helper instead --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index ab3c89d..ac19762 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -39,7 +39,7 @@ def silence_warnings class TestApp < Rails::Application config.root = __dir__ config.session_store :cookie_store, key: "cookie_store_key" - secrets.secret_key_base = "secret_key_base" + config.secret_key_base = "secret_key_base" config.eager_load = false config.hosts = []