diff options
author | George Claghorn <george@basecamp.com> | 2017-07-05 11:23:56 -0400 |
---|---|---|
committer | George Claghorn <george@basecamp.com> | 2017-07-05 11:23:56 -0400 |
commit | 04dad4ee83e4594a9fac1112adcfc8a8f0284cad (patch) | |
tree | b980324fdbb5a026d62afe8e660bf5f8036f5d10 /test/site | |
parent | 5276323d40e816ba4ebb3bb9b30d7d384773b7fe (diff) | |
download | rails-04dad4ee83e4594a9fac1112adcfc8a8f0284cad.tar.gz rails-04dad4ee83e4594a9fac1112adcfc8a8f0284cad.tar.bz2 rails-04dad4ee83e4594a9fac1112adcfc8a8f0284cad.zip |
Fix test
Diffstat (limited to 'test/site')
-rw-r--r-- | test/site/gcs_site_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/site/gcs_site_test.rb b/test/site/gcs_site_test.rb index 3185c43f3c..b3712a2116 100644 --- a/test/site/gcs_site_test.rb +++ b/test/site/gcs_site_test.rb @@ -8,7 +8,7 @@ if SITE_CONFIGURATIONS[:gcs] test "signed URL generation" do travel_to Time.now do - url = SITE.bucket.signed_url(path: FIXTURE_KEY, expires: 120) + + url = SITE.bucket.signed_url(FIXTURE_KEY, expires: 120) + "&response-content-disposition=inline%3B+filename%3D%22test.txt%22" assert_equal url, @site.url(FIXTURE_KEY, expires_in: 2.minutes, disposition: :inline, filename: "test.txt") |