From 77e44855988fe0df09b6d18ce229e5456829d30e Mon Sep 17 00:00:00 2001 From: Josh Adam Date: Wed, 4 Dec 2024 11:36:07 -0600 Subject: [PATCH] refactor: Add frozen string literal comment and standardize string quotes in test.rb for consistency --- embedded_gems/pathogen/demo/config/environments/test.rb | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/embedded_gems/pathogen/demo/config/environments/test.rb b/embedded_gems/pathogen/demo/config/environments/test.rb index 999db7091e..c1ff98941c 100644 --- a/embedded_gems/pathogen/demo/config/environments/test.rb +++ b/embedded_gems/pathogen/demo/config/environments/test.rb @@ -1,4 +1,6 @@ -require "active_support/core_ext/integer/time" +# frozen_string_literal: true + +require 'active_support/core_ext/integer/time' # The test environment is used exclusively to run your application's # test suite. You never need to work with it otherwise. Remember that @@ -15,10 +17,10 @@ # this is usually not necessary, and can slow down your test suite. However, it's # recommended that you enable it in continuous integration systems to ensure eager # loading is working properly before deploying your code. - config.eager_load = ENV["CI"].present? + config.eager_load = ENV['CI'].present? # Configure public file server for tests with Cache-Control for performance. - config.public_file_server.headers = { "Cache-Control" => "public, max-age=#{1.hour.to_i}" } + config.public_file_server.headers = { 'Cache-Control' => "public, max-age=#{1.hour.to_i}" } # Show full error reports and disable caching. config.consider_all_requests_local = true