diff --git a/platform/commonUI/browse/test/BrowseControllerSpec.js b/platform/commonUI/browse/test/BrowseControllerSpec.js index ce9296c239..ac695f5ded 100644 --- a/platform/commonUI/browse/test/BrowseControllerSpec.js +++ b/platform/commonUI/browse/test/BrowseControllerSpec.js @@ -52,7 +52,7 @@ define( beforeEach(function () { mockScope = jasmine.createSpyObj( "$scope", - [ "$on", "$watch" ] + [ "$on", "$watch", "treeSlide" ] ); mockRoute = { current: { params: {} } }; mockLocation = jasmine.createSpyObj( @@ -145,6 +145,11 @@ define( ); expect(mockScope.navigatedObject).toEqual(mockDomainObject); }); + + it("updates boolean", function () { +// spyOn(mockScope, 'treeSlide').andCallThrough(); + mockScope.treeSlide(); + }); it("releases its navigation listener when its scope is destroyed", function () { expect(mockScope.$on).toHaveBeenCalledWith(