diff --git a/core/server/apps/subscribers/lib/helpers/subscribe_form.js b/core/server/apps/subscribers/lib/helpers/subscribe_form.js
index 271e9d52bd..2c78bc5c6d 100644
--- a/core/server/apps/subscribers/lib/helpers/subscribe_form.js
+++ b/core/server/apps/subscribers/lib/helpers/subscribe_form.js
@@ -27,7 +27,7 @@ function makeHidden(name, extras) {
* document.querySelector['.location']['value'] = document.querySelector('.location')['value'] || window.location.href;
*/
subscribeScript =
- '\n' +
- '');
+ settingsCacheStub.withArgs('ghost_foot').returns('');
helpers.ghost_foot({data: {}}).then(function (rendered) {
should.exist(rendered);
- rendered.string.should.match(/');
+ settingsCacheStub.withArgs('ghost_foot').returns('');
helpers.ghost_foot({
data: {
@@ -43,7 +43,7 @@ describe('{{ghost_foot}} helper', function () {
}
}).then(function (rendered) {
should.exist(rendered);
- rendered.string.should.match(/');
+ settingsCacheStub.withArgs('ghost_foot').returns('');
helpers.ghost_foot({
data: {
@@ -63,7 +63,7 @@ describe('{{ghost_foot}} helper', function () {
}
}).then(function (rendered) {
should.exist(rendered);
- rendered.string.should.match(/');
+ settingsCacheStub.withArgs('ghost_foot').returns('');
helpers.ghost_foot({
data: {
@@ -83,7 +83,7 @@ describe('{{ghost_foot}} helper', function () {
}
}).then(function (rendered) {
should.exist(rendered);
- rendered.string.should.match(/