Helpers to test WAI application with Hspec