From 679f65c50aff28559561514e93d2cbf0b32997ae Mon Sep 17 00:00:00 2001 From: Hannah Wolfe Date: Mon, 10 Feb 2014 16:25:31 +0000 Subject: [PATCH] Fix incorrect test name --- core/test/unit/frontend_spec.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/test/unit/frontend_spec.js b/core/test/unit/frontend_spec.js index 6d1a59113d..4674582d30 100644 --- a/core/test/unit/frontend_spec.js +++ b/core/test/unit/frontend_spec.js @@ -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);