Sha256: 98ca7c08449266be1987e3e5bf9ba8e465c22ce5e5354c11d3f7ee36936ae68d

Contents?: true

Size: 313 Bytes

Versions: 5

Compression:

Stored size: 313 Bytes

Contents

require 'spec_helper'

describe Redisable::Config do
  let(:conf) {
    {
      host: "localhost",
      port: "6379",
      db: 1,
    }
  }
  describe ".load/.conf" do
    it "store and get Redis configuration" do
      Redisable::Config.load(conf)
      Redisable::Config.conf.should == conf
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
redisable-0.2.0 spec/config_spec.rb
redisable-0.1.1 spec/config_spec.rb
redisable-0.1.0 spec/config_spec.rb
redisable-0.0.2 spec/config_spec.rb
redisable-0.0.1 spec/config_spec.rb