spec/spec_helper.rb in redis_failover-0.4.0 vs spec/spec_helper.rb in redis_failover-0.5.0
- old
+ new
@@ -7,9 +7,12 @@
def method_missing(method, *args, &block)
self
end
end
-RedisFailover::Util.logger = NullObject.new
+module RedisFailover
+ Util.logger = NullObject.new
+ def ZkClient.new(*args); NullObject.new; end
+end
RSpec.configure do |config|
end
\ No newline at end of file