diff --git a/core/test/unit/importer_spec.js b/core/test/unit/importer_spec.js
index e58525db88..c900529360 100644
--- a/core/test/unit/importer_spec.js
+++ b/core/test/unit/importer_spec.js
@@ -419,7 +419,7 @@ describe('Importer', function () {
});
it('can load a file (subdirectory)', function (done) {
- configUtils.set({url: 'http://testurl.com/subdir'});
+ configUtils.set({url: 'http://localhost:82832/subdir'});
var filename = 'test-image.jpeg',
file = [{
diff --git a/core/test/unit/metadata/paginated_url_spec.js b/core/test/unit/metadata/paginated_url_spec.js
index 2bd06df815..cd88a07155 100644
--- a/core/test/unit/metadata/paginated_url_spec.js
+++ b/core/test/unit/metadata/paginated_url_spec.js
@@ -125,7 +125,7 @@ describe('getPaginatedUrl', function () {
describe('with /blog subdirectory', function () {
before(function () {
- configUtils.set({url: 'http://testurl.com/blog'});
+ configUtils.set({url: 'http://localhost:82832/blog'});
});
after(function () {
@@ -141,8 +141,8 @@ describe('getPaginatedUrl', function () {
var urls = getTestUrls();
// Check results
- urls.should.have.property('next', 'http://testurl.com/blog/page/3/');
- urls.should.have.property('prev', 'http://testurl.com/blog/');
+ urls.should.have.property('next', 'http://localhost:82832/blog/page/3/');
+ urls.should.have.property('prev', 'http://localhost:82832/blog/');
urls.should.have.property('page1', '/blog/');
urls.should.have.property('page5', '/blog/page/5/');
urls.should.have.property('page10', '/blog/page/10/');
@@ -157,8 +157,8 @@ describe('getPaginatedUrl', function () {
var urls = getTestUrls();
// Check results
- urls.should.have.property('next', 'http://testurl.com/blog/featured/page/3/');
- urls.should.have.property('prev', 'http://testurl.com/blog/featured/');
+ urls.should.have.property('next', 'http://localhost:82832/blog/featured/page/3/');
+ urls.should.have.property('prev', 'http://localhost:82832/blog/featured/');
urls.should.have.property('page1', '/blog/featured/');
urls.should.have.property('page5', '/blog/featured/page/5/');
urls.should.have.property('page10', '/blog/featured/page/10/');
diff --git a/core/test/unit/rss_spec.js b/core/test/unit/rss_spec.js
index a9bc5080f6..c4ce9674db 100644
--- a/core/test/unit/rss_spec.js
+++ b/core/test/unit/rss_spec.js
@@ -448,7 +448,7 @@ describe('RSS', function () {
});
it('Should 404 if page number too big', function (done) {
- configUtils.set({url: 'http://testurl.com/'});
+ configUtils.set({url: 'http://localhost:82832/'});
req = {params: {page: 4}, route: {path: '/rss/:page/'}};
req.originalUrl = req.route.path.replace(':page', req.params.page);
@@ -465,7 +465,7 @@ describe('RSS', function () {
});
it('Redirects to last page if page number too big with subdirectory', function (done) {
- configUtils.set({url: 'http://testurl.com/blog'});
+ configUtils.set({url: 'http://localhost:82832/blog'});
req = {params: {page: 4}, route: {path: '/rss/:page/'}};
req.originalUrl = req.route.path.replace(':page', req.params.page);
diff --git a/core/test/unit/server_helpers/asset_spec.js b/core/test/unit/server_helpers/asset_spec.js
index 49982b6ff2..a9d7b96317 100644
--- a/core/test/unit/server_helpers/asset_spec.js
+++ b/core/test/unit/server_helpers/asset_spec.js
@@ -92,7 +92,7 @@ describe('{{asset}} helper', function () {
describe('with /blog subdirectory', function () {
before(function () {
- configUtils.set({url: 'http://testurl.com/blog'});
+ configUtils.set({url: 'http://localhost:82832/blog'});
});
it('handles favicon correctly', function () {
diff --git a/core/test/unit/server_helpers/ghost_head_spec.js b/core/test/unit/server_helpers/ghost_head_spec.js
index 1d72225520..7afcf9ddd6 100644
--- a/core/test/unit/server_helpers/ghost_head_spec.js
+++ b/core/test/unit/server_helpers/ghost_head_spec.js
@@ -41,7 +41,7 @@ describe('{{ghost_head}} helper', function () {
return localSettingsCache[key];
});
- configUtils.set('url', 'http://testurl.com/');
+ configUtils.set('url', 'http://localhost:82832/');
});
it('returns meta tag string on paginated index page without structured data and schema', function (done) {
@@ -51,9 +51,9 @@ describe('{{ghost_head}} helper', function () {
).then(function (rendered) {
should.exist(rendered);
rendered.string.should.match(//);
- rendered.string.should.match(//);
+ rendered.string.should.match(//);
rendered.string.should.match(//);
- rendered.string.should.match(//);
+ rendered.string.should.match(//);
rendered.string.should.not.match(//);
@@ -69,28 +69,28 @@ describe('{{ghost_head}} helper', function () {
).then(function (rendered) {
should.exist(rendered);
rendered.string.should.match(//);
- rendered.string.should.match(//);
+ rendered.string.should.match(//);
rendered.string.should.match(//);
rendered.string.should.match(//);
rendered.string.should.match(//);
rendered.string.should.match(//);
rendered.string.should.match(//);
rendered.string.should.match(//);
- rendered.string.should.match(//);
- rendered.string.should.match(//);
+ rendered.string.should.match(//);
+ rendered.string.should.match(//);
rendered.string.should.match(//);
rendered.string.should.match(//);
rendered.string.should.match(//);
- rendered.string.should.match(//);
- rendered.string.should.match(//);
+ rendered.string.should.match(//);
+ rendered.string.should.match(//);
rendered.string.should.match(//);
- rendered.string.should.match(//);
+ rendered.string.should.match(//);
rendered.string.should.match(/