lib/action_handle/adapters/redis_pool.rb in action-handle-0.0.3 vs lib/action_handle/adapters/redis_pool.rb in action-handle-0.0.4
- old
+ new
@@ -16,10 +16,10 @@
@pool = pool || CurrentRedisWapper.new
end
def taken?(key)
perform_with_expectation(true) do
- @pool.with { |client| client.exist(key) }
+ @pool.with { |client| client.exists(key) }
end
end
def current?(key, value)
perform_with_expectation(value.to_s) do