Add pidfile option

This commit is contained in:
Dzmitry Plashchynski
2015-03-03 19:45:56 +02:00
parent 3b0c0465ca
commit fea559c984
2 changed files with 5 additions and 1 deletions

View File

@@ -2,10 +2,11 @@ require "spec_helper"
describe Crono::Config do
describe "#initialize" do
it "should initialize schedule" do
it "should initialize with default configuration options" do
@config = Crono::Config.new
expect(@config.cronotab).to be Crono::Config::CRONOTAB
expect(@config.logfile).to be Crono::Config::LOGFILE
expect(@config.pidfile).to be Crono::Config::PIDFILE
expect(@config.daemonize).to be false
end
end