Sha256: 9f3f87b3181aed7e68007f32876fc8e88710df2cf68cc9a0ee888ab93063811a

Contents?: true

Size: 369 Bytes

Versions: 13

Compression:

Stored size: 369 Bytes

Contents

require 'rspec'
require 'ostruct'
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

13 entries across 13 versions & 3 rubygems

Version Path
spbtv_redis_failover-1.0.2.1 spec/spec_helper.rb
nogara-redis_failover-1.0.6 spec/spec_helper.rb
nogara-redis_failover-1.0.5 spec/spec_helper.rb
nogara-redis_failover-1.0.4 spec/spec_helper.rb
redis_failover-1.0.2 spec/spec_helper.rb
nogara-redis_failover-1.0.2 spec/spec_helper.rb
nogara-redis_failover-1.0.1 spec/spec_helper.rb
redis_failover-1.0.1 spec/spec_helper.rb
nogara-redis_failover-1.0.0 spec/spec_helper.rb
redis_failover-1.0.0 spec/spec_helper.rb
nogara-redis_failover-0.9.7.4 spec/spec_helper.rb
nogara-redis_failover-0.9.7.3 spec/spec_helper.rb
nogara-redis_failover-0.9.7.2 spec/spec_helper.rb