From df8e79683a65242ad8e780bb555a5a52d5ab624a Mon Sep 17 00:00:00 2001 From: Pete Matsyburka Date: Fri, 31 May 2024 13:19:33 +0300 Subject: [PATCH] eager load in test --- config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index c8bdc9c5..116b5374 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -16,7 +16,7 @@ Rails.application.configure do # Eager loading loads your whole application. When running a single test locally, # this probably isn't necessary. It's a good idea to do in a continuous integration # system, or in some way before deploying your code. - config.eager_load = ENV['CI'].present? + config.eager_load = true # Configure public file server for tests with Cache-Control for performance. config.public_file_server.enabled = true