Skip to content

Commit

Permalink
test for default 302 statusCode on redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnny Estilles committed Feb 28, 2015
1 parent 039b165 commit 5b151f8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/test-mockResponse.js
Expand Up @@ -222,6 +222,7 @@ exports['redirect - Redirect to a url without response code'] = function (test)
var url = '/index';
response.redirect(url);
test.equal(response._getRedirectUrl(), url);
test.equal(response._getStatusCode(), 302);
test.done();
};

Expand Down

0 comments on commit 5b151f8

Please sign in to comment.