test/requests/storage/test_copy_blob.rb in fog-azure-rm-0.4.5 vs test/requests/storage/test_copy_blob.rb in fog-azure-rm-0.4.6
- old
+ new
@@ -22,10 +22,10 @@
end
def test_copy_blob_http_exception
http_exception = ->(*) { raise Azure::Core::Http::HTTPError.new(@mocked_response) }
@blob_client.stub :copy_blob, http_exception do
- assert_raises(RuntimeError) do
+ assert_raises(Azure::Core::Http::HTTPError) do
@service.copy_blob('destination_container', 'destination_blob', 'source_container', 'source_blob')
end
end
end