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