Skip to content

Commit

Permalink
fix typo in test that only breaks on node v0.12 for some reason
Browse files Browse the repository at this point in the history
  • Loading branch information
mikermcneil committed Apr 1, 2015
1 parent 2141ef0 commit 1f8d496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/hook.cors_csrf.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ describe('CORS and CSRF ::', function() {
if (err) return done(new Error(err));
body = response.body.split(',').sort().join(',');
assert.equal(response.statusCode, 200);
assert.equal(body, 'CHECKOUT,CONNECT,COPY,DELETE,GET,HEAD,LOCK,M-SEARCH,MERGE,MKACTIVITY,MKCOL,MOVE,NOTIFY,PATCH,POST,PROPFIND,PROPPATCH,PURGE,PUT,REPORT,SEARCH,SUBSCRIBE,TRACE,UNLOCK,UNSUBSCRIBE', require('util').format('Unexpected HTTP methods: "%s"', response.body));
assert.equal(response.body, 'CHECKOUT,CONNECT,COPY,DELETE,GET,HEAD,LOCK,M-SEARCH,MERGE,MKACTIVITY,MKCOL,MOVE,NOTIFY,PATCH,POST,PROPFIND,PROPPATCH,PURGE,PUT,REPORT,SEARCH,SUBSCRIBE,TRACE,UNLOCK,UNSUBSCRIBE', require('util').format('Unexpected HTTP methods: "%s"', response.body));
done();
});

Expand Down

0 comments on commit 1f8d496

Please sign in to comment.