test/requests/dns/test_create_zone.rb in far-gem-0.5.1 vs test/requests/dns/test_create_zone.rb in far-gem-0.5.2

- old
+ new

@@ -27,10 +27,10 @@ def test_create_or_update_zone_exception response = proc { raise MsRestAzure::AzureOperationError.new(nil, nil, 'error' => { 'message' => 'mocked exception' }) } zone_params = {} @zones.stub :create_or_update, response do - assert_raises RuntimeError do + assert_raises MsRestAzure::AzureOperationError do @service.create_or_update_zone(zone_params) end end end end