Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

updated tests for 0.6.5

  • Loading branch information...
commit 1f3db324250ae669fb773c2f17448d30c7d42dc7 1 parent 7ade6b1
@dscape authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/shared/error.js
View
4 tests/shared/error.js
@@ -11,7 +11,7 @@ function empty_error(callback) {
function empty_error_ok(_,e) {
assert.equal(e.message, "Unknown Error");
- assert.equal(e.http_code, 500);
+ assert.equal(e.status_code, 500);
assert.isNull(e.error);
assert.isNull(e.request);
}
@@ -25,7 +25,7 @@ function error_412(callback) {
function error_412_ok(_,e) {
assert.equal(e.message, "Precondition Failed");
- assert.equal(e.http_code, 412);
+ assert.equal(e.status_code, 412);
assert.isNull(e.error);
assert.isNull(e.request);
}
Please sign in to comment.
Something went wrong with that request. Please try again.