mirror of
https://github.com/plashchynski/crono.git
synced 2026-12-03 13:24:09 +01:00
Add logfile option
This commit is contained in:
1 parent
9675fc3517
commit
0ead66f626
4 files changed
+16
-2
No files matched your search
@@ -33,5 +33,10 @@ describe Crono::CLI do
|
||||
cli.send(:parse_options, ["--cronotab", "/tmp/cronotab.rb"])
|
||||
expect(Crono.config.cronotab).to be_eql "/tmp/cronotab.rb"
|
||||
end
|
||||
|
||||
it "should set logfile" do
|
||||
cli.send(:parse_options, ["--logfile", "log/crono.log"])
|
||||
expect(Crono.config.logfile).to be_eql "log/crono.log"
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user