Merge pull request #689 from matthojo/User-Menu-Links

Removed unused user menu items and linked "Help / Support" to the right place
This commit is contained in:
John O'Nolan 2013-09-10 07:16:11 -07:00
commit 9031ae49b2
2 changed files with 2 additions and 4 deletions

View File

@ -15,8 +15,7 @@
<ul class="overlay">
<li class="usermenu-profile"><a href="/ghost/settings/user">Your Profile</a></li>
<li class="divider"></li>
<li class="usermenu-help"><a href="#">Help / Support</a></li>
<li class="usermenu-shortcuts"><a href="#">Keyboard Shortcuts</a></li>
<li class="usermenu-help"><a href="http://forum.tryghost.org">Help / Support</a></li>
<li class="divider"></li>
<li class="usermenu-signout"><a href="/signout/">Sign Out</a></li>
</ul>

View File

@ -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");
});