hspec-wai 0.5.0 → 0.5.1
raw patch · 2 files changed
+11/−1 lines, 2 files
Files
- hspec-wai.cabal +1/−1
- src/Test/Hspec/Wai.hs +10/−0
hspec-wai.cabal view
@@ -1,5 +1,5 @@ name: hspec-wai-version: 0.5.0+version: 0.5.1 license: MIT license-file: LICENSE copyright: (c) 2012-2014 Fujimura Daisuke,
src/Test/Hspec/Wai.hs view
@@ -23,6 +23,8 @@ -- * Helpers and re-exports , liftIO , with+, Test.Hspec.Wai.pending+, Test.Hspec.Wai.pendingWith ) where import Data.Foldable@@ -41,6 +43,14 @@ -- | An alias for `before`. with :: IO a -> SpecWith a -> Spec with = before++-- | A lifted version of `Test.Hspec.pending`.+pending :: WaiSession ()+pending = liftIO Test.Hspec.pending++-- | A lifted version of `Test.Hspec.pendingWith`.+pendingWith :: String -> WaiSession ()+pendingWith = liftIO . Test.Hspec.pendingWith -- | Set the expectation that a response matches a specified `ResponseMatcher`. --