Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- val t: Future[MatchResult[Personne]] = db.getPersonne(userId).map(_.get must beEqualTo(personne))
- t.await
- val r: Future[MatchResult[Personne]] = db.getPersonne(userId).map(_.get must beEqualTo(personne))
- r.map {
- case r@isWhatIExpected => r
- case isNot => isNot
- }
- found : scala.concurrent.Future[org.specs2.matcher.MatchResult[Personne]]
- [error] required: org.specs2.specification.create.InterpolatedFragment
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement