From d115166dde7ab03706f8f8dd8f1caf186b02d25e Mon Sep 17 00:00:00 2001 From: Shivam Dave Date: Thu, 23 Jul 2015 13:48:21 -0700 Subject: [PATCH] [Mobile] Comments Added comments and removed unwanted spec test code for BrowseController. --- platform/commonUI/browse/test/BrowseControllerSpec.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/platform/commonUI/browse/test/BrowseControllerSpec.js b/platform/commonUI/browse/test/BrowseControllerSpec.js index ac695f5ded..b61a856d41 100644 --- a/platform/commonUI/browse/test/BrowseControllerSpec.js +++ b/platform/commonUI/browse/test/BrowseControllerSpec.js @@ -146,8 +146,10 @@ define( expect(mockScope.navigatedObject).toEqual(mockDomainObject); }); - it("updates boolean", function () { -// spyOn(mockScope, 'treeSlide').andCallThrough(); + // Mocks the tree slide call that + // lets the html code know if the + // tree menu is open. + it("calls the treeSlide function", function () { mockScope.treeSlide(); });