Skip to content

Instantly share code, notes, and snippets.

@gkojax
Created July 20, 2012 08:30
Show Gist options
  • Save gkojax/3149597 to your computer and use it in GitHub Desktop.
Save gkojax/3149597 to your computer and use it in GitHub Desktop.
specs2の枠だけ
import org.specs2.mutable._
import org.specs2.specification._
import org.mockito.Mockito._
import com.mongodb.casbah.Imports._
import com.twitter.finagle.http._
import com.twitter.finagle.http.path._
import com.twitter.finagle.{ Service, Filter, SimpleFilter }
import com.twitter.util.{ Future, FuturePool, Eval }
import scala.util.control.Exception._
class MongoDbSpec extends Specification with TestInjector {
step {
// beforeSpec
}
"MongoDb" should {
"json check" in {
}
}
step {
// afterSpec
collection.remove(MongoDBObject.empty)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment