Sha256: 3f99838cbabbbd0fac35fdebf28e7dea2764b5e8befea5a333620f90ea3204e6
Contents?: true
Size: 357 Bytes
Versions: 1
Compression:
Stored size: 357 Bytes
Contents
require 'rspec' require 'redis_failover' Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each { |f| require f } class NullObject def method_missing(method, *args, &block) yield if block_given? self end end module RedisFailover Util.logger = NullObject.new def ZkClient.new(*args); NullObject.new; end end RSpec.configure do |config| end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
redis_failover-0.6.0 | spec/spec_helper.rb |