packages feed

hspec-wai 0.6.2 → 0.6.3

raw patch · 3 files changed

+10/−1 lines, 3 files

Files

+ changelog view
@@ -0,0 +1,1 @@+See https://github.com/hspec/hspec-wai/blob/master/CHANGES.md
hspec-wai.cabal view
@@ -1,5 +1,5 @@ name:             hspec-wai-version:          0.6.2+version:          0.6.3 license:          MIT license-file:     LICENSE copyright:        (c) 2012-2014 Fujimura Daisuke,@@ -11,6 +11,9 @@ category:         Testing synopsis:         Experimental Hspec support for testing WAI applications description:      Experimental Hspec support for testing WAI applications++extra-source-files:+  changelog  source-repository head   type: git
src/Test/Hspec/Wai.hs view
@@ -11,6 +11,7 @@ , post , put , patch+, options , delete , request @@ -114,6 +115,10 @@ -- | Perform a @PATCH@ request to the application under test. patch :: ByteString -> LB.ByteString -> WaiSession SResponse patch path = request methodPatch path []++-- | Perform an @OPTIONS@ request to the application under test.+options :: ByteString -> WaiSession SResponse+options path = request methodOptions path [] ""  -- | Perform a @DELETE@ request to the application under test. delete :: ByteString -> WaiSession SResponse