Skip to content

Commit

Permalink
refactor: Add frozen string literal comment and standardize string qu…
Browse files Browse the repository at this point in the history
…otes in test.rb for consistency
  • Loading branch information
joshsadam committed Dec 4, 2024
1 parent cd1d696 commit 77e4485
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions embedded_gems/pathogen/demo/config/environments/test.rb
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 77e4485

Please sign in to comment.