diff options
author | Sharang Dashputre <sharang.d@gmail.com> | 2019-04-01 17:59:37 +0530 |
---|---|---|
committer | Sharang Dashputre <sharang.d@gmail.com> | 2019-04-01 22:56:35 +0530 |
commit | 771973c13dd5b68fe96fbe5ea96bd11656437dc1 (patch) | |
tree | 0fadf0afda55ed7331080113cfabb6c885f4248e /activestorage/test/models | |
parent | e0a9e0259c56700fc83b3e886cdf7c04f6a83495 (diff) | |
download | rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.tar.gz rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.tar.bz2 rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.zip |
url -> URL where apt except inside actionpack/
Diffstat (limited to 'activestorage/test/models')
-rw-r--r-- | activestorage/test/models/blob_test.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/activestorage/test/models/blob_test.rb b/activestorage/test/models/blob_test.rb index b7b37bacf5..9fd75a1b4a 100644 --- a/activestorage/test/models/blob_test.rb +++ b/activestorage/test/models/blob_test.rb @@ -114,7 +114,7 @@ class ActiveStorage::BlobTest < ActiveSupport::TestCase end end - test "urls expiring in 5 minutes" do + test "URLs expiring in 5 minutes" do blob = create_blob freeze_time do @@ -123,7 +123,7 @@ class ActiveStorage::BlobTest < ActiveSupport::TestCase end end - test "urls force content_type to binary and attachment as content disposition for content types served as binary" do + test "URLs force content_type to binary and attachment as content disposition for content types served as binary" do blob = create_blob(content_type: "text/html") freeze_time do @@ -132,7 +132,7 @@ class ActiveStorage::BlobTest < ActiveSupport::TestCase end end - test "urls force attachment as content disposition when the content type is not allowed inline" do + test "URLs force attachment as content disposition when the content type is not allowed inline" do blob = create_blob(content_type: "application/zip") freeze_time do @@ -141,7 +141,7 @@ class ActiveStorage::BlobTest < ActiveSupport::TestCase end end - test "urls allow for custom filename" do + test "URLs allow for custom filename" do blob = create_blob(filename: "original.txt") new_filename = ActiveStorage::Filename.new("new.txt") @@ -153,7 +153,7 @@ class ActiveStorage::BlobTest < ActiveSupport::TestCase end end - test "urls allow for custom options" do + test "URLs allow for custom options" do blob = create_blob(filename: "original.txt") arguments = [ |