From 54b770f1f9cf95481b0e83e34367c31f78408d43 Mon Sep 17 00:00:00 2001 From: Patrick Chieppe Date: Thu, 14 Nov 2024 18:11:11 +1100 Subject: [PATCH] Fix incorrect argument name --- lib/mock_redis/list_methods.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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