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