From 1148e2137757449623760d0cf813fb441978d90d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6nke=20Hahn?= Date: Fri, 16 Jan 2015 12:52:11 +0800 Subject: [PATCH] cabal: added lower bound for wai-app-static Fixes #1. --- servant-server.cabal | 2 +- test/Servant/Utils/StaticFilesSpec.hs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/servant-server.cabal b/servant-server.cabal index 5cb01ef0..a82eccff 100644 --- a/servant-server.cabal +++ b/servant-server.cabal @@ -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 diff --git a/test/Servant/Utils/StaticFilesSpec.hs b/test/Servant/Utils/StaticFilesSpec.hs index de7b9e3c..6918448f 100644 --- a/test/Servant/Utils/StaticFilesSpec.hs +++ b/test/Servant/Utils/StaticFilesSpec.hs @@ -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"