@@ -554,7 +554,7 @@ describe('ngView', function() {
554554 var child = jqLite ( element . children ( ) [ 0 ] ) ;
555555 applyCSS ( child , 'transition' , '1s linear all' ) ;
556556
557- if ( $sniffer . supportsTransitions ) {
557+ if ( $sniffer . transitions ) {
558558 expect ( child . attr ( 'class' ) ) . toContain ( 'custom-enter-setup' ) ;
559559 window . setTimeout . expect ( 1 ) . process ( ) ;
560560
@@ -583,7 +583,7 @@ describe('ngView', function() {
583583 $location . path ( '/' ) ;
584584 $rootScope . $digest ( ) ;
585585
586- if ( $sniffer . supportsTransitions ) {
586+ if ( $sniffer . transitions ) {
587587 expect ( child . attr ( 'class' ) ) . toContain ( 'custom-leave-setup' ) ;
588588 window . setTimeout . expect ( 1 ) . process ( ) ;
589589
@@ -614,9 +614,9 @@ describe('ngView', function() {
614614 var child = jqLite ( element . children ( ) [ 0 ] ) ;
615615 applyCSS ( child , 'transition' , '0.5s linear all' ) ;
616616
617- if ( $sniffer . supportsTransitions ) {
617+ if ( $sniffer . transitions ) {
618618 window . setTimeout . expect ( 1 ) . process ( ) ;
619- window . setTimeout . expect ( $sniffer . supportsTransitions ? 500 : 0 ) . process ( ) ;
619+ window . setTimeout . expect ( $sniffer . transitions ? 500 : 0 ) . process ( ) ;
620620 } else {
621621 expect ( window . setTimeout . queue ) . toEqual ( [ ] ) ;
622622 }
@@ -641,7 +641,7 @@ describe('ngView', function() {
641641
642642 $location . path ( '/foo' ) ;
643643 $rootScope . $digest ( ) ;
644- if ( $sniffer . supportsTransitions ) {
644+ if ( $sniffer . transitions ) {
645645 $window . setTimeout . expect ( 1 ) . process ( ) ;
646646 $window . setTimeout . expect ( 0 ) . process ( ) ;
647647 }
@@ -650,7 +650,7 @@ describe('ngView', function() {
650650 $location . path ( '/bar' ) ;
651651 $rootScope . $digest ( ) ;
652652 expect ( n ( element . text ( ) ) ) . toEqual ( '1234' ) ;
653- if ( $sniffer . supportsTransitions ) {
653+ if ( $sniffer . transitions ) {
654654 $window . setTimeout . expect ( 1 ) . process ( ) ;
655655 $window . setTimeout . expect ( 1 ) . process ( ) ;
656656 } else {
0 commit comments