Skip to content

Commit

Permalink
Merge pull request #4472 from fishermand46/patch-1
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
stefanpenner committed Jul 17, 2015
2 parents e9a687e + b3d77ce commit 1da952c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/commands/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'] },
Expand Down Expand Up @@ -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 ? '&' : '?';

Expand Down

0 comments on commit 1da952c

Please sign in to comment.