Permalink
Browse files

updated tests for 0.6.5

  • Loading branch information...
dscape committed Aug 21, 2011
1 parent 7ade6b1 commit 1f3db324250ae669fb773c2f17448d30c7d42dc7
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/shared/error.js
View
@@ -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);
}

0 comments on commit 1f3db32

Please sign in to comment.