From 44860465c26ffba58b6ee2fc8842c4b1c8277ab9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?D=C3=A1vid=20Hal=C3=A1sz?= Date: Thu, 7 Jan 2021 10:27:39 +0100 Subject: [PATCH] Temporarily fix CI by setting total_space for the mocked storage --- spec/controllers/storage_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/storage_controller_spec.rb b/spec/controllers/storage_controller_spec.rb index efb8178d558..5bbc64e2b4a 100644 --- a/spec/controllers/storage_controller_spec.rb +++ b/spec/controllers/storage_controller_spec.rb @@ -1,5 +1,5 @@ describe StorageController do - let(:storage) { FactoryBot.create(:storage, :name => 'test_storage1') } + let(:storage) { FactoryBot.create(:storage, :name => 'test_storage1', :total_space => 4) } let(:storage_cluster) { FactoryBot.create(:storage_cluster, :name => 'test_storage_cluster1') } let(:storage_with_miq_templates) do st = FactoryBot.create(:storage)