0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00

Fix incorrect test name

This commit is contained in:
Hannah Wolfe 2014-02-10 16:25:31 +00:00
parent 173e60caba
commit 679f65c50a

View file

@ -49,7 +49,7 @@ describe('Frontend Controller', function () {
}));
});
it('Redirects to home if page number is 0', function () {
it('Redirects to home if page number is -1', function () {
var req = {params: {page: -1}, route: {path: '/page/:page/'}};
frontend.homepage(req, res, null);