hspec-wai 0.6.1 → 0.6.2
raw patch · 2 files changed
+5/−1 lines, 2 files
Files
- hspec-wai.cabal +1/−1
- src/Test/Hspec/Wai/Internal.hs +4/−0
hspec-wai.cabal view
@@ -1,5 +1,5 @@ name: hspec-wai-version: 0.6.1+version: 0.6.2 license: MIT license-file: LICENSE copyright: (c) 2012-2014 Fujimura Daisuke,
src/Test/Hspec/Wai/Internal.hs view
@@ -6,6 +6,7 @@ WaiExpectation , WaiSession(..) , runWaiSession+, withApplication , getApp , formatHeader ) where@@ -30,6 +31,9 @@ runWaiSession :: WaiSession a -> Application -> IO a runWaiSession = runSession . unWaiSession++withApplication :: Application -> WaiSession a -> IO a+withApplication = flip runWaiSession instance Example WaiExpectation where type Arg WaiExpectation = Application