spec/spec_helper.rb in redis_failover-0.5.4 vs spec/spec_helper.rb in redis_failover-0.6.0
- old
+ new
@@ -3,9 +3,10 @@
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
\ No newline at end of file