Ejemplo n.º 1
0
func (t *AppTest) After() {
	// Cleanup any mess we made
	models.Collection(rmgo.Database).DropCollection()
}
Ejemplo n.º 2
0
func (t *AppTest) Before() {
	// Make sure our collection is clean
	models.Collection(rmgo.Database).DropCollection()
}