(function () { 'use strict'; describe('horizon.framework.util.bind-scope module', function () { it('should have been defined', function () { expect(angular.module('horizon.framework.util.bind-scope')).toBeDefined(); }); }); describe('bind-scope directive', function () { var $scope, $element; beforeEach(module('horizon.framework')); beforeEach(module('horizon.framework.widgets')); beforeEach(module('horizon.framework.util.bind-scope')); beforeEach(module('horizon.framework.util.bind-scope', function ($compileProvider) { /* eslint-disable angular/ng_module_getter */ $compileProvider.directive('testBindScope', testBindScope); /* eslint-enable angular/ng_module_getter */ function testBindScope() { var directive = { restrict: 'E', scope: { itemList: '=' }, transclude: true, template: '