不要怂,就是干,撸起袖子干!

Commit f6ec2da7 by Sascha Depold

Add tests for #1136

1 parent 9792d49a
Showing with 9 additions and 1 deletions
...@@ -6,6 +6,7 @@ var chai = require('chai') ...@@ -6,6 +6,7 @@ var chai = require('chai')
, _ = require('lodash') , _ = require('lodash')
, exec = require('child_process').exec , exec = require('child_process').exec
, version = (require(__dirname + '/../package.json')).version , version = (require(__dirname + '/../package.json')).version
, path = require('path')
chai.Assertion.includeStack = true chai.Assertion.includeStack = true
...@@ -205,7 +206,14 @@ describe(Support.getTestDialectTeaser("Executable"), function() { ...@@ -205,7 +206,14 @@ describe(Support.getTestDialectTeaser("Executable"), function() {
}) })
}) })
}) })
})(['--migrate', '-m']) })([
'--migrate',
'--migrate --config ../config/config.js',
'--migrate --config ' + path.join(__dirname, 'config', 'config.js'),
'-m',
'-m --config ../config/config.js',
'-m --config ' + path.join(__dirname, 'config', 'config.js')
])
;(function(flags) { ;(function(flags) {
flags.forEach(function(flag) { flags.forEach(function(flag) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!