Skip to content

Commit

Permalink
Remove server from physical storage summary test
Browse files Browse the repository at this point in the history
Setting physical servers on physical storage will not work since those
two entities are connected through canisters.

This commit simply removes redundant parts of the spec that in no way
affect the textual summary that this spec is testing.
  • Loading branch information
Tadej Borovšak committed Sep 5, 2018
1 parent f53b68f commit 0b2490f
Showing 1 changed file with 0 additions and 19 deletions.
19 changes: 0 additions & 19 deletions spec/helpers/physical_storage_helper/textual_summary_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,24 +24,6 @@
:description => 'S2200 used to test dh-storage-irm')
end

let(:network) do
FactoryGirl.build(:network, :ipaddress => '10.243.5.64')
end

let(:guest_device) do
FactoryGirl.build(:guest_device,
:device_type => 'management',
:network => network)
end

let(:hardware) do
FactoryGirl.build(:hardware, :guest_devices => [guest_device])
end

let(:computer_system) do
FactoryGirl.build(:computer_system, :hardware => hardware)
end

let(:physical_rack) do
FactoryGirl.create(:physical_rack, :name => 'Rack XYZ')
end
Expand All @@ -58,7 +40,6 @@
:enclosures => 1,
:canister_slots => 2,
:asset_detail => asset_detail,
:computer_system => computer_system,
:physical_rack => physical_rack)
end

Expand Down

0 comments on commit 0b2490f

Please sign in to comment.