test/requests/storage/test_delete_blob.rb in fog-azure-rm-0.4.5 vs test/requests/storage/test_delete_blob.rb in fog-azure-rm-0.4.6
- old
+ new
@@ -28,10 +28,10 @@
end
def test_delete_blob_http_exception
http_exception = ->(*) { raise Azure::Core::Http::HTTPError.new(@mocked_response) }
@blob_client.stub :delete_blob, http_exception do
- assert_raises(RuntimeError) do
+ assert_raises(Azure::Core::Http::HTTPError) do
@service.delete_blob('test_container', 'test_blob')
end
end
end