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.