Skip to content

Commit

Permalink
Fixed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Jan 6, 2017
1 parent bc7291f commit f900ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/system_settings_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

before do
allow(File).to receive(:exist?).and_return(true)
allow(Yast::Bootloader).to receive(:Read)
settings.main
end

Expand All @@ -27,7 +28,6 @@
let(:scheduler) { "cfq" }

before do
allow(Yast::SCR).to receive(:Read).and_call_original
allow(Yast::SCR).to receive(:Read)
.with(Yast::Path.new(".etc.sysctl_conf.\"kernel.sysrq\""))
.and_return(sysctl_sysrq)
Expand Down

0 comments on commit f900ccd

Please sign in to comment.