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

- old
+ new

@@ -16,10 +16,10 @@ end def test_get_subnet_exception_failure response = proc { raise MsRestAzure::AzureOperationError.new(nil, nil, 'error' => { 'message' => 'mocked exception' }) } @subnets.stub :get, response do - assert_raises RuntimeError do + assert_raises MsRestAzure::AzureOperationError do @service.get_subnet('fog-test-rg', 'fog-test-virtual-network', 'fog-test-subnet') end end end end