Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 350 Bytes
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
Jump to Line
Something went wrong with that request. Please try again.