Remove non-determinism from a test.

This commit is contained in:
Felipe Lessa 2015-06-19 21:38:08 -03:00
parent 11555a9095
commit a4a04db98c

View File

@ -1147,6 +1147,7 @@ main = do
where_ $ exists $
from $ \bp -> do
where_ (bp ^. BlogPostAuthorId ==. p ^. PersonId)
orderBy [asc (p ^. PersonName)]
return p
liftIO $ ret `shouldBe` [ Entity p1k p1
, Entity p3k p3 ]