Skip to content

Commit

Permalink
Fix more bad rubocop autocorrections
Browse files Browse the repository at this point in the history
  • Loading branch information
willcosgrove committed Jul 31, 2024
1 parent 6fb12d7 commit 1ae87df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/dummy/config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

config.cache_store = :memory_store
config.public_file_server.headers = {
"Cache-Control" => "public, max-age=#{Integer(2.days, 10)}",
"Cache-Control" => "public, max-age=#{Integer(2.days)}",
}
else
config.action_controller.perform_caching = false
Expand Down
2 changes: 1 addition & 1 deletion test/dummy/config/environments/test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
# Configure public file server for tests with Cache-Control for performance.
config.public_file_server.enabled = true
config.public_file_server.headers = {
"Cache-Control" => "public, max-age=#{Integer(1.hour, 10)}",
"Cache-Control" => "public, max-age=#{Integer(1.hour)}",
}

# Show full error reports and disable caching.
Expand Down

0 comments on commit 1ae87df

Please sign in to comment.