Beispiel #1
0
func (t *AppTest) After() {
	// Cleanup any mess we made
	models.Collection(revmgo.Session).DropCollection()
}
Beispiel #2
0
func (t *AppTest) Before() {
	// Make sure our collection is clean
	models.Collection(revmgo.Session).DropCollection()
}