These are chat archives for etorreborre/specs2

2nd
May 2018
Marko Dimjašević
@mdimjasevic
May 02 2018 07:56
thank you, @etorreborre ! I'll give it a try
Marko Dimjašević
@mdimjasevic
May 02 2018 09:16
@etorreborre : this spec is still failing: org.specs2.scalacheck.ScalaCheckMatchersResultsSpec
Eric Torreborre
@etorreborre
May 02 2018 09:21
Marko Dimjašević
@mdimjasevic
May 02 2018 09:25
It must be something on my end then
Marko Dimjašević
@mdimjasevic
May 02 2018 10:28
Eric, where there any changes related to implicit values? I get this error on my codebase:
could not find implicit value for evidence parameter of type org.specs2.specification.core.AsExecution[org.specs2.concurrent.ExecutionEnv => org.specs2.matcher.MatchResult[scala.concurrent.Future[Option[String]]]]
Eric Torreborre
@etorreborre
May 02 2018 10:29
From which version to which version did you go?
There were such changes from 3.8.x to 4.x IIRC
Marko Dimjašević
@mdimjasevic
May 02 2018 10:29
from 3.8.6 to 4.2.0-6fc1280b6-20180430142205
oh, I see
The rest of the error message is this: "Initial sheet download should succeed" >> { implicit ee: org.specs2.concurrent.ExecutionEnv =>
how do I fix that?
Eric Torreborre
@etorreborre
May 02 2018 10:30
this was a simplification to the API. In general you can get the ExecutionEnv by writing class MySpec(i mplicit ee: ExecutionEnv) extends Specification
and remove it from each example
Marko Dimjašević
@mdimjasevic
May 02 2018 10:32
What do you mean by removing "it"?
oh, a sec
Eric Torreborre
@etorreborre
May 02 2018 10:33
Sorry, then you can just write "Initial sheet download should succeed" >> { ….
Marko Dimjašević
@mdimjasevic
May 02 2018 10:34
yeah, got it. I'm changing someone else's code so I didn't spot the "explicit implicit value" in the spec
Marko Dimjašević
@mdimjasevic
May 02 2018 11:49
I'm running tests in that code base to confirm tests are still passing. If everything is OK, when can you make an official release?
Marko Dimjašević
@mdimjasevic
May 02 2018 12:42
@etorreborre : ^^
Eric Torreborre
@etorreborre
May 02 2018 13:22
Thanks for confirming, I will do an official release once I get a reliable connection