diff --git a/lib/mock_redis/list_methods.rb b/lib/mock_redis/list_methods.rb index f677184..57f2347 100644 --- a/lib/mock_redis/list_methods.rb +++ b/lib/mock_redis/list_methods.rb @@ -92,7 +92,7 @@ def llen(key) with_list_at(key, &:length) end - def lmpop(*args, **options) + def lmpop(*keys, **options) keys.each do |key| assert_listy(key) end