Sha256: 29e4b32a3b78710bd9b5ced96dd535bf583a42707ce08be970a87a4f3207f34f
Contents?: true
Size: 510 Bytes
Versions: 4
Compression:
Stored size: 510 Bytes
Contents
require "spec_helper" describe Crono::Config do describe "#initialize" do it "should initialize with default configuration options" do ENV["RAILS_ENV"] = "test" @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 expect(@config.environment).to be_eql ENV["RAILS_ENV"] end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
crono-0.7.0 | spec/config_spec.rb |
crono-0.6.1 | spec/config_spec.rb |
crono-0.5.2 | spec/config_spec.rb |
crono-0.5.1 | spec/config_spec.rb |