Instantiate one with `redis = MockRedis.new` and treat it like you would a normal Redis object. It supports all the usual Redis operations.
Samuel Merritt, Ryan Schlesinger
gem "ryansch-mock_redis", "~> 0.3.0"