Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
schubi2 committed Jul 10, 2015
1 parent 6665df0 commit 776c528
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/AutoinstGeneral_test.rb
Expand Up @@ -17,10 +17,10 @@
Yast::AutoinstGeneral.Import(Yast::Profile.current["general"])

expect(Yast::SCR).to receive(:Execute).with(
Yast::Path.new(".target.bash"),
path(".target.bash"),
"/usr/sbin/sntp -t 2 -s #{Yast::AutoinstGeneral.mode["ntp_sync_time_before_installation"]}").and_return(0)
expect(Yast::SCR).to receive(:Execute).with(
Yast::Path.new(".target.bash"),"/sbin/hwclock --systohc").and_return(0)
path(".target.bash"),"/sbin/hwclock --systohc").and_return(0)

Yast::AutoinstGeneral.Write()
end
Expand All @@ -30,7 +30,7 @@
Yast::AutoinstGeneral.Import(Yast::Profile.current["general"])

expect(Yast::SCR).not_to receive(:Execute).with(
Yast::Path.new(".target.bash"),"/sbin/hwclock --systohc")
path(".target.bash"),"/sbin/hwclock --systohc")

Yast::AutoinstGeneral.Write()
end
Expand Down

0 comments on commit 776c528

Please sign in to comment.