This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var co = require('bluebird').coroutine; | |
it('should create new banner', co(function* (done) { | |
//Inicializace dat | |
//Smažu všechny organizace | |
yield Organization.removeAsync(); | |
//Poté vytvořím jednu testovací | |
var organization = yield Organization.createAsync({ | |
name: 'Fragaria s.r.o.' | |
}); |