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