Fragments Builder Replacement?

42 views
Skip to first unread message

Gary Malouf

unread,
Apr 30, 2015, 1:57:01 AM4/30/15
to specs2...@googlegroups.com
I'm trying to upgrade from the FragmentBuilder as used in https://github.com/spray/spray/blob/master/spray-testkit/src/main/scala/spray/testkit/Specs2Interface.scala.

While I read the 3.0 release's blog post, I am having trouble getting the upgrade to work.  Can someone point me to the replacement trait(s) and an example of how the new behavior works?

etorreborre

unread,
Apr 30, 2015, 2:08:48 AM4/30/15
to specs2...@googlegroups.com
The equivalent would be:

trait NoReferenceDsl extends org.specs2.specification.dsl.ReferenceDsl {
  override def linkFragment(alias: String) = super.linkFragment(alias)
  override def seeFragment(alias: String)  = super.seeFragment(alias)
}

Eric.
Reply all
Reply to author
Forward
0 new messages