In setupSpec() I have a lot of code to clean myDB. And I want to clean it after the execution of the tests in the suit, so in the cleanupSpec I want to call setupSpec().
def cleanupSpec(){
setupSpec()
}
but after this my DB is not in default state. So how to do it in right way?
Aucun commentaire:
Enregistrer un commentaire