Merge pull request #7001 from TryGhost/greenkeeper-express-4.14.0

* chore(package): update express to version 4.14.0
* fix test 301 issue
This commit is contained in:
Hannah Wolfe 2016-07-20 09:44:39 +01:00 committed by GitHub
commit e046ac3f5a
2 changed files with 5 additions and 5 deletions

View File

@ -337,9 +337,9 @@ describe('Frontend Routing', function () {
.end(doEnd(done));
});
it('http://localhost/blog should 303 to http://localhost/blog/', function (done) {
it('http://localhost/blog should 301 to http://localhost/blog/', function (done) {
request.get('/blog')
.expect(303)
.expect(301)
.expect('Location', '/blog/')
.end(doEnd(done));
});
@ -414,9 +414,9 @@ describe('Frontend Routing', function () {
.end(doEnd(done));
});
it('/blog should 303 to /blog/', function (done) {
it('/blog should 301 to /blog/', function (done) {
request.get('/blog')
.expect(303)
.expect(301)
.expect('Location', '/blog/')
.end(doEnd(done));
});

View File

@ -38,7 +38,7 @@
"cors": "2.7.1",
"csv-parser": "1.9.3",
"downsize": "0.0.8",
"express": "4.13.4",
"express": "4.14.0",
"express-hbs": "1.0.2",
"extract-zip": "1.5.0",
"fs-extra": "0.30.0",