Sha256: 4054233592fc3d2a934f46b85564a23ba58324752251835bf9274e6396ef888f

Contents?: true

Size: 541 Bytes

Versions: 5

Compression:

Stored size: 541 Bytes

Contents

package com.twitter.birdname

import org.specs.Specification
import com.twitter.ostrich.admin._
import com.twitter.util._
import com.twitter.conversions.time._

abstract class AbstractSpec extends Specification {
  val env = RuntimeEnvironment(this, Array("-f", "config/test.scala"))
  lazy val birdName = {
    val out = env.loadRuntimeConfig[BirdNameService]
    
    // You don't really want the thrift server active, particularly if you
    // are running repetitively via ~test
    ServiceTracker.shutdown // all services
    out
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scala-bootstrapper-0.9.1 lib/template/src/test/scala/com/twitter/birdname/AbstractSpec.scala.erb
scala-bootstrapper-0.9.0 lib/template/src/test/scala/com/twitter/birdname/AbstractSpec.scala.erb
scala-bootstrapper-0.8.1 lib/template/src/test/scala/com/twitter/birdname/AbstractSpec.scala.erb
scala-bootstrapper-0.8.0 lib/template/src/test/scala/com/twitter/birdname/AbstractSpec.scala.erb
scala-bootstrapper-0.7.2 lib/template/src/test/scala/com/twitter/birdname/AbstractSpec.scala.erb