Sha256: ca66e7592a7fa35ea2c1495e7434c7635167816fd15c400492fc7c069f342aa6
Contents?: true
Size: 419 Bytes
Versions: 6
Compression:
Stored size: 419 Bytes
Contents
require File.expand_path("../../spec_helper", __FILE__) describe RedisRing::ShardConfig do it "should render redis config with default config variables" do config = RedisRing::Configuration.new shard_config = RedisRing::ShardConfig.new(0, config) redis_conf = shard_config.render redis_conf.should include((config.base_port + 1).to_s) redis_conf.should include(config.base_directory) end end
Version data entries
6 entries across 6 versions & 1 rubygems