Sha256: f8c6073ce1aa7814c90a9fe5d7d5109d82d26912351b60695c026033813915a3

Contents?: true

Size: 350 Bytes

Versions: 27

Compression:

Stored size: 350 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
end

def ZK.new(*args); NullObject.new; end

RSpec.configure do |config|
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
redis_failover-0.9.7.2 spec/spec_helper.rb
redis_failover-0.9.7.1 spec/spec_helper.rb
nogara-redis_failover-0.9.7 spec/spec_helper.rb
redis_failover-0.9.7 spec/spec_helper.rb
nogara-redis_failover-0.9.1 spec/spec_helper.rb
redis_failover-0.9.6 spec/spec_helper.rb
redis_failover-0.9.5 spec/spec_helper.rb
redis_failover-0.9.4 spec/spec_helper.rb
redis_failover-0.9.3 spec/spec_helper.rb
redis_failover-0.9.2 spec/spec_helper.rb
redis_failover-0.9.1 spec/spec_helper.rb
nogara-redis_failover-0.9.0 spec/spec_helper.rb
redis_failover-0.9.0 spec/spec_helper.rb
nogara-redis_failover-0.8.11 spec/spec_helper.rb
nogara-redis_failover-0.8.10 spec/spec_helper.rb
nogara-redis_failover-0.8.9 spec/spec_helper.rb
redis_failover-0.8.9 spec/spec_helper.rb
redis_failover-0.8.8 spec/spec_helper.rb
redis_failover-0.8.7 spec/spec_helper.rb
redis_failover-0.8.6 spec/spec_helper.rb