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