Exemplo n.º 1
0
 return testUtil.runCmd(dir, ['up']).then(function(){
   return Promise.all([
     testUtil.expectTableToExist('users'), 
     testUtil.expectTableToExist('thingies')
   ])
 })
Exemplo n.º 2
0
 }).then(function(){
   return Promise.all([
     testUtil.expectTableToExist('users'), 
     testUtil.expectTableToExist('thingies')
   ])
 })
Exemplo n.º 3
0
 return testUtil.runCmd(dir, ['up']).then(function(){
   return testUtil.expectTableToExist('migrations_complete')
 })