diff --git a/spec/lib/network/discovery_spec.rb b/spec/lib/network_discovery/discovery_spec.rb similarity index 85% rename from spec/lib/network/discovery_spec.rb rename to spec/lib/network_discovery/discovery_spec.rb index 5814e96a5d5a..9cee6d470102 100644 --- a/spec/lib/network/discovery_spec.rb +++ b/spec/lib/network_discovery/discovery_spec.rb @@ -1,8 +1,8 @@ -require 'manageiq/network/discovery' +require 'manageiq/network_discovery/discovery' require 'ostruct' require 'util/miq-ipmi' -RSpec.describe ManageIQ::Network::Discovery do +RSpec.describe ManageIQ::NetworkDiscovery::Discovery do context '#scan_host' do let(:ost) { OpenStruct.new(:discover_types => [:ipmi], :ipaddr => '127.0.0.1', :hypervisor => []) } it 'hypervisor is ipmi when available' do diff --git a/spec/lib/network/port_spec.rb b/spec/lib/network_discovery/port_spec.rb similarity index 93% rename from spec/lib/network/port_spec.rb rename to spec/lib/network_discovery/port_spec.rb index 7f838c06fbe6..5770c8315119 100644 --- a/spec/lib/network/port_spec.rb +++ b/spec/lib/network_discovery/port_spec.rb @@ -1,8 +1,8 @@ -require 'manageiq/network/discovery' +require 'manageiq/network_discovery/discovery' require 'ostruct' require 'benchmark' -RSpec.describe ManageIQ::Network::Port do +RSpec.describe ManageIQ::NetworkDiscovery::Port do before do @ost = OpenStruct.new @ost.ipaddr = '172.16.254.1'