Skip to content
This repository has been archived by the owner on Jul 1, 2021. It is now read-only.

Commit

Permalink
update test_invalid_argument_fault to test VIM exception type
Browse files Browse the repository at this point in the history
  • Loading branch information
rlane committed Feb 22, 2011
1 parent f42df6a commit 2157e65
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/test_parse_response.rb
Expand Up @@ -50,8 +50,10 @@ def test_invalid_argument_fault
</detail>
</soapenv:Fault>
EOS
rescue RbVmomi::Fault
rescue VIM::InvalidArgument
raise
rescue
raise "wrong fault"
end
end
end
Expand Down

0 comments on commit 2157e65

Please sign in to comment.