Sha256: c2fd13a854c9edfdc988a35810ad54b5e2f625f20cadc2b2f6a0abb059683321

Contents?: true

Size: 430 Bytes

Versions: 2

Compression:

Stored size: 430 Bytes

Contents

require 'spec_helper'

describe Rstatsd::Configuration do
  describe "configuration properties" do
    context "with the defaults" do
      before do
        @config = Rstatsd::Configuration.new
      end

      it "should configure the redis db" do
        @config.redis_db.should == 1
      end

      it "should configure the redis hostname" do
        @config.redis_host.should == '127.0.0.1:6379'
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rstatsd-0.3 spec/rstatsd/config_spec.rb
rstatsd-0.2 spec/rstatsd/config_spec.rb