Skip to content

Commit

Permalink
Add test of test specs
Browse files Browse the repository at this point in the history
  • Loading branch information
t32k committed Feb 12, 2015
1 parent 2960da6 commit be3176f
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions test/cli-test.js
Expand Up @@ -58,4 +58,15 @@ describe('Command line test', function() {
});
});

it('should success with users test spec', function(done) {
var testCmds = ['node ./bin/cli.js'];
testCmds.push('test/fixture/app.css', '--specs test/fixture/specs.json');
exec(testCmds.join(' '), function(error, stdout, stderr) {
if(error) {
assert(error.killed);
}
done();
});
});

});

0 comments on commit be3176f

Please sign in to comment.