aboutsummaryrefslogtreecommitdiffstats
path: root/test/service
diff options
context:
space:
mode:
Diffstat (limited to 'test/service')
-rw-r--r--test/service/shared_service_tests.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/service/shared_service_tests.rb b/test/service/shared_service_tests.rb
index ad6a9dea7f..07620d91e4 100644
--- a/test/service/shared_service_tests.rb
+++ b/test/service/shared_service_tests.rb
@@ -29,7 +29,7 @@ module ActiveStorage::Service::SharedServiceTests
end
end
- test "upload without integrity" do
+ test "uploading without integrity" do
begin
key = SecureRandom.base58(24)
data = "Something else entirely!"
@@ -37,6 +37,8 @@ module ActiveStorage::Service::SharedServiceTests
assert_raises(ActiveStorage::IntegrityError) do
@service.upload(key, StringIO.new(data), checksum: Digest::MD5.base64digest("bad data"))
end
+
+ assert_not @service.exist?(key)
ensure
@service.delete key
end