cabal: added lower bound for wai-app-static

Fixes #1.
This commit is contained in:
Sönke Hahn 2015-01-16 12:52:11 +08:00
parent 9ef336b50f
commit 1148e21377
2 changed files with 2 additions and 2 deletions

View file

@ -49,7 +49,7 @@ library
, text , text
, transformers , transformers
, wai , wai
, wai-app-static , wai-app-static >= 3.0.0.6
, warp , warp
hs-source-dirs: src hs-source-dirs: src
default-language: Haskell2010 default-language: Haskell2010

View file

@ -61,4 +61,4 @@ spec = do
get "/static/foo.txt" `shouldRespondWith` "bar" get "/static/foo.txt" `shouldRespondWith` "bar"
it "serves the contents of index.html when requesting the root of a directory" $ do it "serves the contents of index.html when requesting the root of a directory" $ do
get "/static" `shouldRespondWith` "index" get "/static/" `shouldRespondWith` "index"