spec/memory_spec.rb in fakeredis-0.8.0 vs spec/memory_spec.rb in fakeredis-0.9.0
- old
+ new
@@ -19,10 +19,10 @@
def result
returned_keys = []
cursor = 0
loop do
- cursor, keys = redis.scan(cursor, match_arguments)
+ cursor, keys = redis.scan(cursor, **match_arguments)
returned_keys += keys
break if cursor == '0'
end
returned_keys
end