module Mock.Blog.URL ( noCards , simple , subPath ) where import Blog.URL (URLs(..)) import Network.URL (Host(..), Protocol(..), URL(..), URLType(..)) simple :: URLs simple = URLs { cards = Just (URL { url_type = Absolute (Host (HTTP True) "test.net" Nothing) , url_path = "" , url_params = [] }) , comments = Nothing , rss = Nothing } subPath :: URLs subPath = URLs { cards = Just (URL { url_type = Absolute (Host (HTTP True) "test.net" Nothing) , url_path = "subPath" , url_params = [] }) , comments = Nothing , rss = Nothing } noCards :: URLs noCards = simple {cards = Nothing}