test/requests/network/test_create_subnet.rb in fog-azure-rm-0.4.5 vs test/requests/network/test_create_subnet.rb in fog-azure-rm-0.4.6

- old
+ new

@@ -25,10 +25,10 @@ end def test_create_subnet_exception_failure response = proc { raise MsRestAzure::AzureOperationError.new(nil, nil, 'error' => { 'message' => 'mocked exception' }) } @subnets.stub :create_or_update, response do - assert_raises RuntimeError do + assert_raises MsRestAzure::AzureOperationError do @service.create_subnet('fog-test-rg', 'fog-test-subnet', 'fog-test-virtual-network', '10.1.0.0/24', 'nsg-id', 'table-id') end end end end