Used minitest/mock to test for correct interaction between PostsController#create and Redis server