diff --git a/lib/commands/test.js b/lib/commands/test.js index 4092b5b30d..f6bdf8fb50 100644 --- a/lib/commands/test.js +++ b/lib/commands/test.js @@ -10,7 +10,7 @@ var path = require('path'); module.exports = Command.extend({ name: 'test', aliases: ['test', 't'], - description: 'Runs your apps test suite.', + description: 'Runs your app\'s test suite.', availableOptions: [ { name: 'environment', type: String, default: 'test', aliases: ['e'] }, @@ -54,9 +54,9 @@ module.exports = Command.extend({ var tmpPath = this.quickTemp.makeOrRemake(this, '-customConfigFile'); var customPath = path.join(tmpPath, 'testem.json'); var originalContents = JSON.parse(fs.readFileSync(options.configFile, { encoding: 'utf8' })); - + var testPage = options['test-page']?options['test-page']:originalContents['test_page']; - + var containsQueryString = testPage.indexOf('?') > -1; var testPageJoinChar = containsQueryString ? '&' : '?';