diff --git a/test/unit/helpers/ghost_foot_spec.js b/test/unit/helpers/ghost_foot_spec.js
index c1249dd624..26e747f104 100644
--- a/test/unit/helpers/ghost_foot_spec.js
+++ b/test/unit/helpers/ghost_foot_spec.js
@@ -16,7 +16,7 @@ describe('{{ghost_foot}} helper', function () {
});
it('outputs global injected code', function () {
- settingsCacheStub.withArgs('ghost_foot').returns('');
+ settingsCacheStub.withArgs('codeinjection_foot').returns('');
const rendered = helpers.ghost_foot({data: {}});
should.exist(rendered);
@@ -24,7 +24,7 @@ describe('{{ghost_foot}} helper', function () {
});
it('outputs post injected code', function () {
- settingsCacheStub.withArgs('ghost_foot').returns('');
+ settingsCacheStub.withArgs('codeinjection_foot').returns('');
const rendered = helpers.ghost_foot({
data: {
@@ -41,7 +41,7 @@ describe('{{ghost_foot}} helper', function () {
});
it('handles post injected code being null', function () {
- settingsCacheStub.withArgs('ghost_foot').returns('');
+ settingsCacheStub.withArgs('codeinjection_foot').returns('');
const rendered = helpers.ghost_foot({
data: {
@@ -58,7 +58,7 @@ describe('{{ghost_foot}} helper', function () {
});
it('handles post injected code being empty', function () {
- settingsCacheStub.withArgs('ghost_foot').returns('');
+ settingsCacheStub.withArgs('codeinjection_foot').returns('');
const rendered = helpers.ghost_foot({
data: {
@@ -75,7 +75,7 @@ describe('{{ghost_foot}} helper', function () {
});
it('handles global empty code injection', function () {
- settingsCacheStub.withArgs('ghost_foot').returns('');
+ settingsCacheStub.withArgs('codeinjection_foot').returns('');
const rendered = helpers.ghost_foot({data: {}});
should.exist(rendered);
@@ -83,7 +83,7 @@ describe('{{ghost_foot}} helper', function () {
});
it('handles global undefined code injection', function () {
- settingsCacheStub.withArgs('ghost_foot').returns(undefined);
+ settingsCacheStub.withArgs('codeinjection_foot').returns(undefined);
const rendered = helpers.ghost_foot({data: {}});
should.exist(rendered);
diff --git a/test/unit/helpers/ghost_head_spec.js b/test/unit/helpers/ghost_head_spec.js
index cde5a0ca14..7f33535b6a 100644
--- a/test/unit/helpers/ghost_head_spec.js
+++ b/test/unit/helpers/ghost_head_spec.js
@@ -1411,7 +1411,7 @@ describe('{{ghost_head}} helper', function () {
beforeEach(function () {
sandbox = sinon.createSandbox();
settingsCache.get.withArgs('icon').returns('/content/images/favicon.png');
- settingsCache.get.withArgs('ghost_head').returns('');
+ settingsCache.get.withArgs('codeinjection_head').returns('');
testUrlUtils.stubUrlUtils({url: 'http://localhost:65530/'}, sandbox);
});