Merge pull request #17 from haskell-servant/fix_1

cabal: added lower bound for wai-app-static
This commit is contained in:
Sönke Hahn 2015-01-16 13:03:57 +08:00
commit 350e05e035
2 changed files with 2 additions and 2 deletions

View file

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

View file

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