diff --git a/core/server/views/default.hbs b/core/server/views/default.hbs index ae115b25ed..81179be58c 100644 --- a/core/server/views/default.hbs +++ b/core/server/views/default.hbs @@ -5,7 +5,7 @@ - {{siteTitle}} Admin + Ghost Admin diff --git a/core/test/functional/admin/01_login_test.js b/core/test/functional/admin/01_login_test.js index 620d3b79e2..9d3a5b7d93 100644 --- a/core/test/functional/admin/01_login_test.js +++ b/core/test/functional/admin/01_login_test.js @@ -55,7 +55,7 @@ casper.test.begin("Ghost admin will load login page", 2, function suite(test) { test.filename = "admin_test.png"; casper.start(url + "ghost", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); test.assertUrlMatch(/ghost\/signin\/$/, 'If we\'re not already registered, we should be logged in.'); }).viewport(1280, 1024); @@ -81,7 +81,7 @@ casper.test.begin("Can't spam it", 4, function suite(test) { test.filename = "login_spam_test.png"; casper.start(url + "ghost/signin/", function testTitle() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); }).viewport(1280, 1024); casper.waitForOpaque(".login-box", @@ -117,7 +117,7 @@ casper.test.begin("Can login to Ghost", 4, function suite(test) { test.filename = "login_test.png"; casper.start(url + "ghost/login/", function testTitle() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); }).viewport(1280, 1024); casper.waitForOpaque(".login-box", diff --git a/core/test/functional/admin/03_editor_test.js b/core/test/functional/admin/03_editor_test.js index 4799c40eea..57367e7f80 100644 --- a/core/test/functional/admin/03_editor_test.js +++ b/core/test/functional/admin/03_editor_test.js @@ -4,7 +4,7 @@ casper.test.begin("Ghost editor is correct", 9, function suite(test) { test.filename = "editor_test.png"; casper.start(url + "ghost/editor/", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); test.assertUrlMatch(/ghost\/editor\/$/, "Ghost doesn't require login this time"); test.assertExists(".entry-markdown", "Ghost editor is present"); test.assertExists(".entry-preview", "Ghost preview is present"); @@ -55,7 +55,7 @@ casper.test.begin("Haunted markdown in editor works", 3, function suite(test) { test.filename = "markdown_test.png"; casper.start(url + "ghost/editor/", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); }).viewport(1280, 1024); casper.then(function testImage() { @@ -86,7 +86,7 @@ casper.test.begin("Word count and plurality", 4, function suite(test) { test.filename = "editor_plurality_test.png"; casper.start(url + "ghost/editor/", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); }).viewport(1280, 1024); casper.then(function checkZeroPlural() { @@ -131,7 +131,7 @@ casper.test.begin('Title Trimming', function suite(test) { test.filename = 'editor_title_trimming_test.png'; casper.start(url + 'ghost/editor/', function testTitleAndUrl() { - test.assertTitle('', 'Ghost admin has no title'); + test.assertTitle("Ghost Admin", 'Ghost admin has no title'); }).viewport(1280, 1024); casper.then(function populateTitle() { @@ -153,7 +153,7 @@ casper.test.begin('Publish menu - new post', function suite(test) { test.filename = 'publish_menu_new_post.png'; casper.start(url + 'ghost/editor/', function testTitleAndUrl() { - test.assertTitle('', 'Ghost admin has no title'); + test.assertTitle("Ghost Admin", 'Ghost admin has no title'); }).viewport(1280, 1024); // ... check default option status, label, class @@ -195,7 +195,7 @@ casper.test.begin('Publish menu - existing post', function suite(test) { // Create a post, save it and test refreshed editor casper.start(url + 'ghost/editor/', function testTitleAndUrl() { - test.assertTitle('', 'Ghost admin has no title'); + test.assertTitle("Ghost Admin", 'Ghost admin has no title'); }).viewport(1280, 1024); casper.then(function createTestPost() { diff --git a/core/test/functional/admin/04_content_test.js b/core/test/functional/admin/04_content_test.js index 235fdb552e..cd3174c9b9 100644 --- a/core/test/functional/admin/04_content_test.js +++ b/core/test/functional/admin/04_content_test.js @@ -4,7 +4,7 @@ casper.test.begin("Content screen is correct", 17, function suite(test) { test.filename = "content_test.png"; casper.start(url + "ghost/content/", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); test.assertUrlMatch(/ghost\/content\/$/, "Ghost doesn't require login this time"); }).viewport(1280, 1024); @@ -55,7 +55,7 @@ casper.test.begin('Infinite scrolling', 1, function suite(test) { // Placeholder for infinite scrolling/pagination tests (will need to setup 16+ posts). casper.start(url + "ghost/content/", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); }).viewport(1280, 1024); casper.run(function () { diff --git a/core/test/functional/admin/05_settings_test.js b/core/test/functional/admin/05_settings_test.js index 3ff7533933..796cdf63e5 100644 --- a/core/test/functional/admin/05_settings_test.js +++ b/core/test/functional/admin/05_settings_test.js @@ -4,7 +4,7 @@ casper.test.begin("Settings screen is correct", 15, function suite(test) { test.filename = "settings_test.png"; casper.start(url + "ghost/settings/", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); test.assertUrlMatch(/ghost\/settings\/general\/$/, "Ghost doesn't require login this time"); }).viewport(1280, 1024); @@ -118,7 +118,7 @@ casper.test.begin("User settings screen validates email", 6, function suite(test test.filename = "user_settings_test.png"; casper.start(url + "ghost/settings/user/", function testTitleAndUrl() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); test.assertUrlMatch(/ghost\/settings\/user\/$/, "Ghost doesn't require login this time"); }).viewport(1280, 1024); diff --git a/core/test/functional/admin/07_logout_test.js b/core/test/functional/admin/07_logout_test.js index 12883c354b..5e805ad522 100644 --- a/core/test/functional/admin/07_logout_test.js +++ b/core/test/functional/admin/07_logout_test.js @@ -37,7 +37,7 @@ casper.test.begin("Can't spam signin", 3, function suite(test) { test.filename = "spam_test.png"; casper.start(url + "ghost/signin/", function testTitle() { - test.assertTitle("", "Ghost admin has no title"); + test.assertTitle("Ghost Admin", "Ghost admin has no title"); }).viewport(1280, 1024); casper.waitFor(function checkOpaque() {