YesodStaticTest.hs 257 B

123456789101112
  1. module YesodStaticTest (specs) where
  2. import Test.Hspec
  3. import Yesod.Static (getFileListPieces)
  4. specs :: Spec
  5. specs = do
  6. describe "get file list" $ do
  7. it "pieces" $ do
  8. getFileListPieces "test/fs" `shouldReturn` [["foo"], ["bar", "baz"]]