Skip to content

Commit

Permalink
adapt test
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Jan 28, 2022
1 parent cef8df1 commit b365391
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/grub2base_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -235,10 +235,12 @@
end
end

it "proposes timeout to 8 seconds" do
it "proposes timeout to product/role default" do
allow(Yast::ProductFeatures).to receive(:GetIntegerFeature)
.with("globals", "boot_timeout").and_return(2)
subject.propose

expect(subject.grub_default.timeout).to eq "8"
expect(subject.grub_default.timeout).to eq "2"
end

it "proposes using btrfs snapshots always to true" do
Expand Down

0 comments on commit b365391

Please sign in to comment.