diff options
-rw-r--r-- | js/tests/unit/controller/ExploreControllerSpec.js | 8 |
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'); |