Skip to content

Commit

Permalink
Fix TimeHelpersSpec specs2-related compile issue.
Browse files Browse the repository at this point in the history
specs2 stopped supporting mixing MatchersImplicits directly into something that
extends Scope, but we can just import the implicits via the MatchersImplicits
singleton.
  • Loading branch information
Shadowfiend committed Mar 1, 2016
1 parent a3992af commit e4ab109
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -229,7 +229,9 @@ object TimeHelpersSpec extends Specification with ScalaCheck with TimeAmountsGen
}
}

object forAllTimeZones extends Around with MatchersImplicits {
object forAllTimeZones extends Around {
import MatchersImplicits._

override def around[T: AsResult](f: => T) = synchronized { // setDefault is on static context so tests should be sequenced
import collection.convert.wrapAsScala._
// some timezones for java (used in formatters) and for Joda (other computations) has other offset
Expand Down

0 comments on commit e4ab109

Please sign in to comment.