Skip to content

Commit

Permalink
Fixed test for redirection
Browse files Browse the repository at this point in the history
  • Loading branch information
piranna committed Aug 13, 2016
1 parent 2d1e7eb commit bb6b9ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/send.js
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ describe('send(file).pipe(res)', function () {
request(app)
.get('/pets')
.expect('Location', '/pets/')
.expect(301, 'Redirecting to /pets/', done)
.expect(301, 'Redirecting to <a href="/pets/">/pets/</a>\n', done)
})

it("should not redirect on symbolic links", function(done){
Expand Down

0 comments on commit bb6b9ed

Please sign in to comment.