diff options
author | Yamagishi Kazutoshi <ykzts@desire.sh> | 2018-04-12 21:45:17 +0900 |
---|---|---|
committer | Eugen Rochko <eugen@zeonfederated.com> | 2018-04-12 14:45:17 +0200 |
commit | 50529cbceb84e611bca497624a7a4c38113e5135 (patch) | |
tree | 753e4e8975f0404717e451fceb64d341f19435fc /config/environments/test.rb | |
parent | 8e88a18316d45a459a31d67487bccc247592d187 (diff) |
Upgrade Rails to version 5.2.0 (#5898)
Diffstat (limited to 'config/environments/test.rb')
-rw-r--r-- | config/environments/test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/environments/test.rb b/config/environments/test.rb index 122634d5b..1c1891561 100644 --- a/config/environments/test.rb +++ b/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.to_i}" } config.assets.digest = false |