From 2280276fddca1aed394cb7bccb7b7ae89be69be5 Mon Sep 17 00:00:00 2001 From: Matthew Harrison-Jones Date: Tue, 10 Sep 2013 15:05:42 +0100 Subject: [PATCH] Removed unused user menu items and linked "Help / Support" to the right place Also updated CasperJS tests to support changes --- core/server/views/partials/navbar.hbs | 3 +-- core/test/functional/admin/02_dashboard_test.js | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/core/server/views/partials/navbar.hbs b/core/server/views/partials/navbar.hbs index 1de8621410..40d4a52a64 100644 --- a/core/server/views/partials/navbar.hbs +++ b/core/server/views/partials/navbar.hbs @@ -15,8 +15,7 @@ diff --git a/core/test/functional/admin/02_dashboard_test.js b/core/test/functional/admin/02_dashboard_test.js index e94455d73e..da0ab16410 100644 --- a/core/test/functional/admin/02_dashboard_test.js +++ b/core/test/functional/admin/02_dashboard_test.js @@ -1,6 +1,6 @@ /*globals casper, __utils__, url */ -casper.test.begin("Ghost dashboard is correct", 13, function suite(test) { +casper.test.begin("Ghost dashboard is correct", 12, function suite(test) { test.filename = "dashboard_test.png"; casper.start(url + "ghost", function testTitleAndUrl() { @@ -19,7 +19,6 @@ casper.test.begin("Ghost dashboard is correct", 13, function suite(test) { test.assertExists("#usermenu", "User menu is present"); test.assertSelectorHasText("#usermenu .usermenu-profile a", "Your Profile"); test.assertSelectorHasText("#usermenu .usermenu-help a", "Help / Support"); - test.assertSelectorHasText("#usermenu .usermenu-shortcuts a", "Keyboard Shortcuts"); test.assertSelectorHasText("#usermenu .usermenu-signout a", "Sign Out"); });