aboutsummaryrefslogtreecommitdiffstats
path: root/activestorage/test/models/blob_test.rb
diff options
context:
space:
mode:
authorSharang Dashputre <sharang.d@gmail.com>2019-04-01 17:59:37 +0530
committerSharang Dashputre <sharang.d@gmail.com>2019-04-01 22:56:35 +0530
commit771973c13dd5b68fe96fbe5ea96bd11656437dc1 (patch)
tree0fadf0afda55ed7331080113cfabb6c885f4248e /activestorage/test/models/blob_test.rb
parente0a9e0259c56700fc83b3e886cdf7c04f6a83495 (diff)
downloadrails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.tar.gz
rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.tar.bz2
rails-771973c13dd5b68fe96fbe5ea96bd11656437dc1.zip
url -> URL where apt except inside actionpack/
Diffstat (limited to 'activestorage/test/models/blob_test.rb')
-rw-r--r--activestorage/test/models/blob_test.rb10
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 = [