Sha256: 8bb5b9866568ad5e3ebfe4797263a47fcf02e0d561ec192009ab7eb3cd82142e

Contents?: true

Size: 670 Bytes

Versions: 5

Compression:

Stored size: 670 Bytes

Contents

package com.twitter.birdname

import org.specs.Specification
import com.twitter.admin._

class BirdNameServiceSpec extends Specification {
  // If you do multiple integration tests, you might want to factor this 
  // into a superclass.
  val env = RuntimeEnvironment(this, Array("-f", "config/test.scala"))
  val impl = env.loadRuntimeConfig[BirdNameService]
  
  // You don't really want the thrift server active, particularly if you
  // are running repetitively via ~test
  ServiceTracker.shutdown // all services

  "BirdNameService" should {

    // TODO: Please implement your own tests

    "hello world" in {
      impl.hello.get() mustEqual "world"
    }
  }
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
scala-bootstrapper-0.2.1 lib/template/src/test/scala/com/twitter/birdname/BirdNameServiceSpec.scala
scala-bootstrapper-0.2.0 lib/template/src/test/scala/com/twitter/birdname/BirdNameServiceSpec.scala
scala-bootstrapper-0.1.3 lib/template/src/test/scala/com/twitter/birdname/BirdNameServiceSpec.scala
scala-bootstrapper-0.1.2 lib/template/src/test/scala/com/twitter/birdname/BirdNameServiceSpec.scala
scala-bootstrapper-0.1.1 lib/template/src/test/scala/com/twitter/birdname/BirdNameServiceSpec.scala