Created
July 20, 2012 08:30
-
-
Save gkojax/3149597 to your computer and use it in GitHub Desktop.
specs2の枠だけ
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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