spec/beaker/hypervisor/vsphere_spec.rb in beaker-1.8.1 vs spec/beaker/hypervisor/vsphere_spec.rb in beaker-1.8.2
- old
+ new
@@ -15,11 +15,11 @@
MockVsphereHelper.powerOff
vsphere = Beaker::Vsphere.new( make_hosts(), make_opts )
vsphere.provision
- hosts = vsphere.instance_variable_get( :@vsphere_hosts )
+ hosts = vsphere.instance_variable_get( :@hosts )
hosts.each do |host|
expect( MockVsphereHelper.find_vm( host.name ).powerState ) == "poweredOn"
end
end
@@ -51,10 +51,10 @@
it "cleans up" do
MockVsphereHelper.powerOn
vsphere = Beaker::Vsphere.new( make_hosts(), make_opts )
vsphere.cleanup
- hosts = vsphere.instance_variable_get( :@vsphere_hosts )
+ hosts = vsphere.instance_variable_get( :@hosts )
hosts.each do |host|
expect( MockVsphereHelper.find_vm( host.name ).powerState ) == "poweredOff"
end
end