Sha256: d084cf3d9f8154ea1160defed7c1035eccb51754accaa52d510375894bfe2b79

Contents?: true

Size: 331 Bytes

Versions: 5

Compression:

Stored size: 331 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)
    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

5 entries across 5 versions & 1 rubygems

Version Path
redis_failover-0.5.4 spec/spec_helper.rb
redis_failover-0.5.3 spec/spec_helper.rb
redis_failover-0.5.2 spec/spec_helper.rb
redis_failover-0.5.1 spec/spec_helper.rb
redis_failover-0.5.0 spec/spec_helper.rb