test/requests/resources/test_create_deployment.rb in fog-azure-rm-0.4.5 vs test/requests/resources/test_create_deployment.rb in fog-azure-rm-0.4.6

- old
+ new

@@ -23,10 +23,10 @@ def test_create_deployment_failure response = proc { raise MsRestAzure::AzureOperationError.new(nil, nil, 'error' => { 'message' => 'mocked exception' }) } @deployments.stub :validate, true do @deployments.stub :create_or_update, response do - assert_raises(RuntimeError) { @service.create_deployment(@resource_group, @deployment_name, @template_link, @parameters_link) } + assert_raises(MsRestAzure::AzureOperationError) { @service.create_deployment(@resource_group, @deployment_name, @template_link, @parameters_link) } end end end end