Skip to content

Commit

Permalink
Adapt tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Aug 17, 2015
1 parent f0953a6 commit db19168
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/mbr_update_test.rb
Expand Up @@ -225,7 +225,7 @@
"4:30.2GB:500GB:470GB:ext4:primary:legacy_boot;"

allow(Yast::WFM).to receive(:Execute)
.with(anything, /parted -m \/dev\/sda print/)
.with(anything, /parted -sm \/dev\/sda print/)
.and_return(
"exit" => 0,
"stdout" => parted_output
Expand Down Expand Up @@ -289,7 +289,7 @@
"4:30.2GB:500GB:470GB:ext4:primary:legacy_boot;"

allow(Yast::WFM).to receive(:Execute)
.with(anything, /parted -m \/dev\/sda print/)
.with(anything, /parted -sm \/dev\/sda print/)
.and_return(
"exit" => 0,
"stdout" => parted_output
Expand Down

0 comments on commit db19168

Please sign in to comment.