mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix secret_key_base for Railties
This was missed in the security fix for local dev. CI doesn't have a tmp directory in the apps built for testing so these end up failing. This adds the secret_key_base so we don't need to generate one.
This commit is contained in:
parent
c932850ef2
commit
e0c6bce203
2 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,7 @@ module ApplicationTests
|
|||
config.active_support.deprecation = :log
|
||||
config.eager_load = false
|
||||
config.hosts << proc { true }
|
||||
config.secret_key_base = "b3c631c314c0bbca50c1b2843150fe33"
|
||||
end
|
||||
|
||||
Rails.application.initialize!
|
||||
|
|
|
@ -10,6 +10,7 @@ end
|
|||
|
||||
class InfoControllerTest < ActionController::TestCase
|
||||
tests Rails::InfoController
|
||||
Rails.application.config.secret_key_base = "b3c631c314c0bbca50c1b2843150fe33"
|
||||
|
||||
def setup
|
||||
Rails.application.routes.draw do
|
||||
|
|
Loading…
Reference in a new issue