Slide 43
Slide 43 text
@chrisarcand @jrafanie
before(:each) do
_guid_2, _server_2, @zone_2 = EvmSpecHelper.create_guid_miq_
guid, server, @zone = EvmSpecHelper.create_guid_miq_server_z
@ems = FactoryGirl.create(:ems_vmware_with_auth…, :zone => @
other_ems = FactoryGirl.create(:ems_…_with_auth…, :zone => @
@worker_guid = MiqUUID.new_guid
@worker_record =
FactoryGirl.create(:miq_vim_broker_worker, :guid => …, :mi
@drb_uri = "drb://127.0.0.1:12345"
allow(DRb).to receive(:uri).and_return(@drb_uri)
allow_any_instance_of(described_class).to receive(:sync_acti
allow_any_instance_of(described_class).to receive(:sync_conf
allow_any_instance_of(described_class).to receive(:set_conne
allow_any_instance_of(ManageIQ::Providers::Vmware::InfraMana
.to receive(:authentication_check).and_return([true, ""])
allow_any_instance_of(ManageIQ::Providers::Vmware::InfraMana
.to receive(:authentication_status_ok?).and_return(true)
end