Skip to content

Commit

Permalink
Fix SystemdService tests
Browse files Browse the repository at this point in the history
  • Loading branch information
imobachgs committed Aug 10, 2018
1 parent 96a8d06 commit 3a07fc0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/systemd/test/systemd_service_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ module Yast
before do
allow(Yast::Systemctl).to receive(:execute).with(
"show --property=Id,MainPID,Description,LoadState,ActiveState,SubState,UnitFileState," \
"FragmentPath,CanReload,TriggeredBy apparmor.service cups.service"
"FragmentPath,CanReload apparmor.service cups.service"
).and_return(systemctl_show)
allow(SystemdService).to receive(:find).with("apparmor", {}).and_return(apparmor_double)
allow(SystemdService).to receive(:find).with("cups", {}).and_return(cups_double)
Expand Down

0 comments on commit 3a07fc0

Please sign in to comment.