Files
crono/spec/config_spec.rb
Dzmitry Plashchynski fea559c984 Add pidfile option
2015-03-03 19:56:01 +02:00

14 lines
417 B
Ruby

require "spec_helper"
describe Crono::Config do
describe "#initialize" 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
end