@@ -555,7 +555,7 @@ describe('uiStateRef', function() {
555555 it ( 'should bind single HTML events' , inject ( function ( $compile , $state , $timeout ) {
556556 expect ( $state . current . name ) . toEqual ( 'top' ) ;
557557
558- el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ event : [\'change\'] }">' ) ;
558+ el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ events : [\'change\'] }">' ) ;
559559
560560 scope . state = 'contacts' ;
561561 $compile ( el ) ( scope ) ;
@@ -570,7 +570,7 @@ describe('uiStateRef', function() {
570570 it ( 'should bind multiple HTML events' , inject ( function ( $compile , $state , $timeout ) {
571571 expect ( $state . current . name ) . toEqual ( 'top' ) ;
572572
573- el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ event : [\'change\', \'blur\'] }">' ) ;
573+ el = angular . element ( '<input type="text" ui-state="state" ui-state-opts="{ events : [\'change\', \'blur\'] }">' ) ;
574574
575575 scope . state = 'contacts' ;
576576 $compile ( el ) ( scope ) ;
@@ -593,7 +593,7 @@ describe('uiStateRef', function() {
593593 it ( 'should bind multiple Mouse events' , inject ( function ( $compile , $state , $timeout ) {
594594 expect ( $state . current . name ) . toEqual ( 'top' ) ;
595595
596- el = angular . element ( '<a ui-state="state" ui-state-opts="{ event : [\'mouseover\', \'mousedown\'] }">' ) ;
596+ el = angular . element ( '<a ui-state="state" ui-state-opts="{ events : [\'mouseover\', \'mousedown\'] }">' ) ;
597597
598598 scope . state = 'contacts' ;
599599 $compile ( el ) ( scope ) ;
@@ -703,7 +703,7 @@ describe('uiStateRef', function() {
703703 } ) ) ;
704704
705705 it ( 'should bind single HTML events' , inject ( function ( $rootScope , $compile , $state , $timeout ) {
706- el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ event : [\'change\'] }">' ) ;
706+ el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ events : [\'change\'] }">' ) ;
707707 $compile ( el ) ( $rootScope ) ;
708708 $rootScope . $digest ( ) ;
709709
@@ -716,7 +716,7 @@ describe('uiStateRef', function() {
716716 } ) ) ;
717717
718718 it ( 'should bind multiple HTML events' , inject ( function ( $rootScope , $compile , $state , $timeout ) {
719- el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ event : [\'change\', \'blur\'] }">' ) ;
719+ el = angular . element ( '<input type="text" ui-sref="contacts" ui-sref-opts="{ events : [\'change\', \'blur\'] }">' ) ;
720720 $compile ( el ) ( $rootScope ) ;
721721 $rootScope . $digest ( ) ;
722722
@@ -737,7 +737,7 @@ describe('uiStateRef', function() {
737737 } ) ) ;
738738
739739 it ( 'should bind multiple Mouse events' , inject ( function ( $rootScope , $compile , $state , $timeout ) {
740- el = angular . element ( '<a ui-sref="contacts" ui-sref-opts="{ event : [\'mouseover\', \'mousedown\'] }">' ) ;
740+ el = angular . element ( '<a ui-sref="contacts" ui-sref-opts="{ events : [\'mouseover\', \'mousedown\'] }">' ) ;
741741 $compile ( el ) ( $rootScope ) ;
742742 $rootScope . $digest ( ) ;
743743
0 commit comments