[Addressability] Add spec for BrowseObjectController

Add spec for BrowseObjectController, added to track current
view selection from/to query string params, WTD-1149.
This commit is contained in:
Victor Woeltjen
2015-06-16 16:09:22 -07:00
parent c1c633db80
commit 5849f8afe2
3 changed files with 102 additions and 1 deletions

View File

@ -37,6 +37,7 @@ define(
function selectViewIfMatching(view) {
if (view.key === locationViewKey) {
$scope.representation = $scope.representation || {};
$scope.representation.selected = view;
}
}