Sha256: baf184d0f6b6aeccf565667a145b781c5ef00762f12befbc18d9c5d6b988558a

Contents?: true

Size: 491 Bytes

Versions: 2

Compression:

Stored size: 491 Bytes

Contents

require 'spec_helper'

describe Whacamole::Config do
  describe "initialization" do
    it "sets the app name" do
      c = Whacamole::Config.new("production")
      c.app_name.should == "production"
    end

    it "sets default dyno to watch to web" do
      c = Whacamole::Config.new("production")
      c.dynos.should == %w{web}
    end

    it "has a default restart_threshold" do
      c = Whacamole::Config.new("production")
      c.restart_threshold.should == 1000
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
whacamole-1.2.0 spec/config_spec.rb
whacamole-1.1.0 spec/config_spec.rb