Sha256: 0fddde0946261a47082a14b14e3c9c271bf80f528567f039da711086327f7427

Contents?: true

Size: 588 Bytes

Versions: 28

Compression:

Stored size: 588 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'
require 'daemon_kit/initializer'

describe DaemonKit::Configuration do
  before(:each) do
    @configuration = DaemonKit::Configuration.new
  end

  it "should know our environment" do
    @configuration.environment.should_not be_nil
  end

  it "should have a default log path" do
    @configuration.log_path.should_not be_nil
  end

  it "should have a default log level" do
    @configuration.log_level.should_not be_nil
  end

  it "should set a default umask" do
    File.umask.should_not be(0)
    File.umask.should be(18)
  end

end

Version data entries

28 entries across 28 versions & 7 rubygems

Version Path
kennethkalmer-daemon-kit-0.1.7.10 spec/initializer_spec.rb
queso-daemon-kit-0.1.7.10 spec/initializer_spec.rb
skaar-daemon-kit-0.1.7.10 spec/initializer_spec.rb
amqp-daemon-kit-1.0.1 spec/initializer_spec.rb
amqp-daemon-kit-0.1.8.2 spec/initializer_spec.rb
amqp-daemon-kit-0.1.8.1 spec/initializer_spec.rb
daemon-kit-0.1.8.1 spec/initializer_spec.rb
daemon-kit-0.1.8 spec/initializer_spec.rb
daemon-kit-0.1.8rc3 spec/initializer_spec.rb
textgoeshere-daemon-kit-0.1.8.31 spec/initializer_spec.rb
textgoeshere-daemon-kit-0.1.8rc3 spec/initializer_spec.rb
daemon-kit-0.1.8rc2 spec/initializer_spec.rb
daemon-kit-0.1.8rc1 spec/initializer_spec.rb
apphunkd-0.13.0 vendor/daemon_kit/spec/initializer_spec.rb
apphunkd-0.12.2 vendor/daemon_kit/spec/initializer_spec.rb
apphunkd-0.12.1 vendor/daemon_kit/spec/initializer_spec.rb
apphunkd-0.12.0 vendor/daemon_kit/spec/initializer_spec.rb
daemon-kit-0.1.8pre spec/initializer_spec.rb
apphunkd-0.11.1 vendor/daemon_kit/spec/initializer_spec.rb
apphunkd-0.11.0 vendor/daemon_kit/spec/initializer_spec.rb