guilleiguaran/fakeredis — pull request #39 by gotwalt (2012-09-11 06:14:30+00:00)
Title: Correctly support variadic lpush/rpush commands

Prior to this commit, passing an array as the second argument to lpush/rpush would result in the array stored in a single value - ex: `rpush('key', ['a', b', 'c'])` would result in [['a', 'b', 'c']]`. Added simple support to both commands to mirror the behavior of the 3.0 redis-rb client - the same command resulting in `['a', 'b', 'c']`. Added test coverage to document this behavior.