diff options
author | Guillermo Ramos | 2014-09-27 15:34:15 +0200 |
---|---|---|
committer | Guillermo Ramos | 2014-09-27 16:12:49 +0200 |
commit | 6e99d20972bec95d3502ef7549d74f67b4cf0001 (patch) | |
tree | 387c36753f158db69dc117ede96a8586d4697f63 /tests/main.hs | |
download | turing-web-6e99d20972bec95d3502ef7549d74f67b4cf0001.tar.gz |
Initial commit (using Yesod's scaffolding)
Diffstat (limited to 'tests/main.hs')
-rw-r--r-- | tests/main.hs | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/main.hs b/tests/main.hs new file mode 100644 index 0000000..a869b66 --- /dev/null +++ b/tests/main.hs @@ -0,0 +1,23 @@ +{-# LANGUAGE OverloadedStrings #-} +{-# LANGUAGE NoMonomorphismRestriction #-} +{-# OPTIONS_GHC -fno-warn-orphans #-} + +module Main where + +import Import +import Yesod.Default.Config +import Yesod.Test +import Test.Hspec (hspec) +import Application (makeFoundation) + +import HomeTest + +main :: IO () +main = do + conf <- Yesod.Default.Config.loadConfig $ (configSettings Testing) + { csParseExtra = parseExtra + } + foundation <- makeFoundation conf + hspec $ do + yesodSpec foundation $ do + homeSpecs |