test/requests/storage/test_delete_container.rb in far-gem-0.5.1 vs test/requests/storage/test_delete_container.rb in far-gem-0.5.2
- 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_container, http_exception do
- assert_raises(RuntimeError) do
+ assert_raises(Azure::Core::Http::HTTPError) do
@service.delete_container('test_container')
end
end
end