From 815d1abf3962d65c0bb9043c99a507580b4360df Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Thu, 3 Aug 2017 03:13:11 +0900 Subject: Fix `Style/StringLiterals` violations for Active Storage ``` % be rubocop -a --only Style/StringLiterals activestorage Inspecting 74 files ........................................CCCCCCCCCC.C........CC.......C.C.. (snip) 74 files inspected, 31 offenses detected, 31 offenses corrected ``` --- activestorage/test/dummy/config/environments/test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activestorage/test/dummy/config/environments/test.rb') diff --git a/activestorage/test/dummy/config/environments/test.rb b/activestorage/test/dummy/config/environments/test.rb index 4380dfc0cd..4f2c048600 100644 --- a/activestorage/test/dummy/config/environments/test.rb +++ b/activestorage/test/dummy/config/environments/test.rb @@ -15,7 +15,7 @@ Rails.application.configure do # 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=#{1.hour.seconds.to_i}" + "Cache-Control" => "public, max-age=#{1.hour.seconds.to_i}" } # Show full error reports and disable caching. -- cgit v1.2.3