From 0b2490f25616f374c1283f3b2560990b50b073a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tadej=20Borov=C5=A1ak?= Date: Wed, 5 Sep 2018 13:07:10 +0200 Subject: [PATCH] Remove server from physical storage summary test 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. --- .../textual_summary_spec.rb | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/spec/helpers/physical_storage_helper/textual_summary_spec.rb b/spec/helpers/physical_storage_helper/textual_summary_spec.rb index 9bd7b382b6d..19f3fbb3bbd 100644 --- a/spec/helpers/physical_storage_helper/textual_summary_spec.rb +++ b/spec/helpers/physical_storage_helper/textual_summary_spec.rb @@ -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 @@ -58,7 +40,6 @@ :enclosures => 1, :canister_slots => 2, :asset_detail => asset_detail, - :computer_system => computer_system, :physical_rack => physical_rack) end