diff --git a/lib/vmdb_helper.rb b/lib/vmdb_helper.rb index a1e49c76e65..f4811d226cd 100644 --- a/lib/vmdb_helper.rb +++ b/lib/vmdb_helper.rb @@ -1,5 +1,4 @@ require 'miq-extensions' -require 'miq-uuid' require 'ostruct' require 'fileutils' diff --git a/spec/models/miq_server/environment_manager_spec.rb b/spec/models/miq_server/environment_manager_spec.rb index 57e720ae7a7..dc30e0f8e8e 100644 --- a/spec/models/miq_server/environment_manager_spec.rb +++ b/spec/models/miq_server/environment_manager_spec.rb @@ -7,6 +7,7 @@ context ".get_network_information" do it "when in non-production mode" do + require "uuidtools" allow(UUIDTools::UUID).to receive(:mac_address).and_return(mac_address) expect(MiqServer.get_network_information).to eq([loopback, hostname, mac_address]) end