diff options
Diffstat (limited to 'test/service/shared_service_tests.rb')
-rw-r--r-- | test/service/shared_service_tests.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/service/shared_service_tests.rb b/test/service/shared_service_tests.rb index 377670f4a0..b7d619843b 100644 --- a/test/service/shared_service_tests.rb +++ b/test/service/shared_service_tests.rb @@ -64,5 +64,11 @@ module ActiveStorage::Service::SharedServiceTests @service.delete FIXTURE_KEY assert_not @service.exist?(FIXTURE_KEY) end + + test "deleting nonexistent key" do + assert_nothing_raised do + @service.delete SecureRandom.base58(24) + end + end end end |