From 109854e05ca14f1af2282d74ab1cc6aa45049023 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Thu, 21 Jan 2016 23:29:55 +0100 Subject: fix js tests --- js/tests/unit/controller/ExploreControllerSpec.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'js') 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'); -- cgit v1.2.3