Skip to content

Commit

Permalink
loader expectations on stop spec steps for understanding why travis C…
Browse files Browse the repository at this point in the history
…I is failing but works locally.
  • Loading branch information
bustardcelly committed Apr 16, 2015
1 parent 16172ad commit 07bec64
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/step_definitions/stop.steps.js
Expand Up @@ -11,8 +11,8 @@ module.exports = function() {
request(url)
.get('/')
.end(function(error, response) {
expect(error).to.not.equal(undefined);
expect(error.code).to.equal('ECONNREFUSED');
expect(error, 'Error should be provided from access on stopped process.').to.not.equal(undefined);
expect(error.code, 'Error code should be provided as \'EXONNREFUSED\' on access of stopped process.').to.equal('ECONNREFUSED');
callback();
});
});
Expand Down

0 comments on commit 07bec64

Please sign in to comment.