These are chat archives for etorreborre/specs2

22nd
Feb 2015
Matthew Pocock
@drdozer
Feb 22 2015 15:59
hi - I have a specification defined as a trait and I'd like to run 2 of it in my real specification, parameterised by different types
so
object MainSpec extends Specification {
  def subSpec[T]: SubSpec[T] = ...

  val subSpecString = subSpec[String]
  val subSpecInt = subSpec[Int]

  ??? run subSpecString, and subSpecInt ???
}
Eric Torreborre
@etorreborre
Feb 22 2015 19:46