test/requests/resources/test_get_deployment.rb in far-gem-0.5.1 vs test/requests/resources/test_get_deployment.rb in far-gem-0.5.2
- old
+ new
@@ -16,9 +16,9 @@
end
def test_list_deployment_failure
response = proc { raise MsRestAzure::AzureOperationError.new(nil, nil, 'error' => { 'message' => 'mocked exception' }) }
@deployments.stub :get, response do
- assert_raises(RuntimeError) { @service.get_deployment('fog-test-rg', 'fog-test-deployment') }
+ assert_raises(MsRestAzure::AzureOperationError) { @service.get_deployment('fog-test-rg', 'fog-test-deployment') }
end
end
end