Add scaffolding

This commit is contained in:
Joscha 2020-11-24 22:55:20 +00:00
parent d49b95b7b4
commit 4de8e8ffdc
38 changed files with 8807 additions and 2 deletions

View file

@ -0,0 +1,17 @@
module Handler.CommonSpec (spec) where
import TestImport
spec :: Spec
spec = withApp $ do
describe "robots.txt" $ do
it "gives a 200" $ do
get RobotsR
statusIs 200
it "has correct User-agent" $ do
get RobotsR
bodyContains "User-agent: *"
describe "favicon.ico" $ do
it "gives a 200" $ do
get FaviconR
statusIs 200