From afb7f5929ae05d089b07c4e9dd35ddf2fcd45c16 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Imobach=20Gonz=C3=A1lez=20Sosa?= Date: Fri, 24 Nov 2017 09:16:04 +0000 Subject: [PATCH] Fix building in s390 architectures --- test/AutoinstPartPlan_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/AutoinstPartPlan_test.rb b/test/AutoinstPartPlan_test.rb index 06efe1509..5fed53a8e 100755 --- a/test/AutoinstPartPlan_test.rb +++ b/test/AutoinstPartPlan_test.rb @@ -17,6 +17,9 @@ def devicegraph_from(file_name) end describe "Yast::AutoinstPartPlan" do + before do + allow(Yast::Arch).to receive(:architecture).and_return("x86_64") + end subject do # Postpone AutoinstPartPlan.main until it is needed.