web: fix breakage in test script
This commit is contained in:
		
							parent
							
								
									d156173647
								
							
						
					
					
						commit
						cbc51ce67f
					
				| @ -9,6 +9,7 @@ import Yesod.Default.Config | |||||||
| import Yesod.Test | import Yesod.Test | ||||||
| import Test.Hspec (hspec) | import Test.Hspec (hspec) | ||||||
| import Application (makeFoundation) | import Application (makeFoundation) | ||||||
|  | import Hledger.Web.Options (defwebopts) | ||||||
| 
 | 
 | ||||||
| import HomeTest | import HomeTest | ||||||
| 
 | 
 | ||||||
| @ -17,7 +18,7 @@ main = do | |||||||
|     conf <- Yesod.Default.Config.loadConfig $ (configSettings Testing) |     conf <- Yesod.Default.Config.loadConfig $ (configSettings Testing) | ||||||
|                     { csParseExtra = parseExtra |                     { csParseExtra = parseExtra | ||||||
|                     } |                     } | ||||||
|     foundation <- makeFoundation conf |     foundation <- makeFoundation conf defwebopts | ||||||
|     hspec $ do |     hspec $ do | ||||||
|       yesodSpec foundation $ do |       yesodSpec foundation $ do | ||||||
|         homeSpecs |         homeSpecs | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user