Skip to content

Commit

Permalink
Merge pull request #161 from yast/missing_mock
Browse files Browse the repository at this point in the history
Fixed unit test
  • Loading branch information
lslezak authored Dec 14, 2020
2 parents 11ee020 + 506a60f commit c090f6f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/root_part_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -236,6 +236,7 @@
let(:device_spec) { nil }

it "mounts /dev, /proc, /run, and /sys" do
allow(File).to receive(:exist?).with("/sys/firmware/efi/efivars").and_return(false)
allow(subject).to receive(:AddMountedPartition)

["/dev", "/proc", "/run", "/sys"].each do |d|
Expand Down

0 comments on commit c090f6f

Please sign in to comment.