justinhelmer
1/10/2016 - 5:02 AM

directive.one-way.unit.js

it('should compile with deploymentId scope data as one-way bound', function() {
  directive.scope.rule = {};
  directive.scope.deploymentId = 'dep-1';
  
  var isolatedScope = directive.compile();
  
  isolatedScope.corVm.deploymentId = 'dep-2'
  
  expect(directive.scope.deploymentId).toBe('dep-1');
});