Skip to content

Commit

Permalink
Rollback Specs2 from 3.0.1 to 2.4.17
Browse files Browse the repository at this point in the history
Specs2 3.0.1 and kind-projector don't seem to play nice on Scala 2.10.x.

Also mix-in org.specs2.time.NoTimeConversions to fix ambiguous implicits
with scala.concurrent.duration.
  • Loading branch information
adelbertc committed Mar 12, 2015
1 parent 2f53a03 commit e9a714a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion core/build.sbt
Expand Up @@ -9,7 +9,7 @@ resolvers ++= Seq(

val scalazVersion = "7.1.1"

val specs2Version = "3.0.1"
val specs2Version = "2.4.17"

libraryDependencies ++= Seq(
compilerPlugin("org.spire-math" %% "kind-projector" % "0.5.2"),
Expand Down
3 changes: 2 additions & 1 deletion core/src/test/scala/rebind/RetryPolicySpec.scala
Expand Up @@ -4,6 +4,7 @@ import org.scalacheck._
import org.scalacheck.Arbitrary._

import org.specs2._
import org.specs2.time.NoTimeConversions

import scala.concurrent.duration._

Expand All @@ -12,7 +13,7 @@ import scalaz.scalacheck.ScalazProperties.semigroup
import scalaz.scalacheck.ScalazArbitrary.indexedStateTArb
import scalaz.std.AllInstances._

class RetryPolicySpec extends Specification with ScalaCheck with RetryPolicySpecInstances {
class RetryPolicySpec extends Specification with NoTimeConversions with ScalaCheck with RetryPolicySpecInstances {
def is =
s2"""
capDelay ${capDelay}
Expand Down

0 comments on commit e9a714a

Please sign in to comment.