vmware/rbvmomi — pull request #19 by domcleal (2013-06-11 17:06:22+00:00)
Title: Fix tests: missing runtime info properties, no connection available

Currently two key failures:

9bb61258 broke object comparisons in tests, as it now assumes a connection's available:

1) Error:
test_array(DeserializationTest):
NoMethodError: undefined method `synchronize' for nil:NilClass
/home/dcleal/code/fog/rbvmomi/lib/rbvmomi/trivial_soap.rb:88:in `request'
/home/dcleal/code/fog/rbvmomi/lib/rbvmomi/connection.rb:87:in `call'
/home/dcleal/code/fog/rbvmomi/lib/rbvmomi/basic_types.rb:203:in `_call'
/home/dcleal/code/fog/rbvmomi/lib/rbvmomi/basic_types.rb:74:in `block (2 levels) in init'
/home/dcleal/code/fog/rbvmomi/lib/rbvmomi/vim.rb:64:in `serviceContent'
/home/dcleal/code/fog/rbvmomi/lib/rbvmomi/vim.rb:90:in `instanceUuid'
/home/dcleal/code/fog/rbvmomi/lib/rbvmomi/basic_types.rb:220:in `=='

This hid a problem in the deserialisation test, where due to 9e6d3eb79 updating vmodl.db, the runtime info being returned changed.