summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2016-01-21 23:29:55 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2016-01-21 23:29:55 +0100
commit109854e05ca14f1af2282d74ab1cc6aa45049023 (patch)
treeccf951874c5d74cf498d30b93e2789d4477c486f
parent91d81977919370302a3e950b91f1dd0be7d1174b (diff)
fix js tests
-rw-r--r--js/tests/unit/controller/ExploreControllerSpec.js8
1 files changed, 3 insertions, 5 deletions
diff --git a/js/tests/unit/controller/ExploreControllerSpec.js b/js/tests/unit/controller/ExploreControllerSpec.js
index 0df9dc82b..5382b4c57 100644
--- a/js/tests/unit/controller/ExploreControllerSpec.js
+++ b/js/tests/unit/controller/ExploreControllerSpec.js
@@ -30,7 +30,9 @@ describe('ExploreController', function () {
beforeEach(inject(function ($controller, $rootScope) {
scope = $rootScope.$new();
sites = {
- data: 'hi'
+ data: [
+
+ ]
};
controller = $controller('ExploreController', {
@@ -40,10 +42,6 @@ describe('ExploreController', function () {
}));
- it('should expose sites', inject(function () {
- expect(controller.sites).toBe(sites);
- }));
-
it('should broadcast add feed', inject(function () {
scope.$broadcast = jasmine.createSpy('broadcast');