summaryrefslogtreecommitdiffstats
path: root/js/tests/unit/controller/ContentControllerSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tests/unit/controller/ContentControllerSpec.js')
-rw-r--r--js/tests/unit/controller/ContentControllerSpec.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/js/tests/unit/controller/ContentControllerSpec.js b/js/tests/unit/controller/ContentControllerSpec.js
index 1dbd3d936..422bd21f4 100644
--- a/js/tests/unit/controller/ContentControllerSpec.js
+++ b/js/tests/unit/controller/ContentControllerSpec.js
@@ -10,7 +10,9 @@
describe('ContentController', () => {
'use strict';
- beforeEach(module('News'));
+ beforeEach(module('News', ($provide) => {
+ $provide.value('BASE_URL', 'base');
+ }));
it('should publish data to models', inject(($controller, Publisher,