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