Here's how I test redis with RSpec. May not be the best way to test it but it works well enough for us. We make a connection in "before" block and then switch to database number #15 which is not used so we can safely flush it. Then after each "it" block we flush the database so we work with empty database.
Hope this helps someone... :)