mirror of
https://github.com/plashchynski/crono.git
synced 2026-03-30 14:22:07 +02:00
Add custom Logger
This commit is contained in:
@@ -38,5 +38,10 @@ describe Crono::CLI do
|
||||
cli.send(:parse_options, ["--logfile", "log/crono.log"])
|
||||
expect(Crono.config.logfile).to be_eql "log/crono.log"
|
||||
end
|
||||
|
||||
it "should set daemonize" do
|
||||
cli.send(:parse_options, ["--daemonize"])
|
||||
expect(Crono.config.daemonize).to be true
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user