File tree 2 files changed +6
-4
lines changed
test/unit/angular/directive
2 files changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -67,7 +67,9 @@ IonicModule
67
67
'<div class="scroll-refresher">' +
68
68
'<div class="ionic-refresher-content" ' +
69
69
'ng-class="{\'ionic-refresher-with-text\': pullingText || refreshingText}">' +
70
- '<i class="icon {{pullingIcon}} icon-pulling"></i>' +
70
+ '<div class="icon-pulling">' +
71
+ '<i class="icon {{pullingIcon}}"></i>' +
72
+ '</div>' +
71
73
'<div class="text-pulling" ng-bind-html="pullingText"></div>' +
72
74
'<i class="icon {{refreshingIcon}} icon-refreshing"></i>' +
73
75
'<div class="text-refreshing" ng-bind-html="refreshingText"></div>' +
Original file line number Diff line number Diff line change @@ -68,12 +68,12 @@ describe('ionRefresher directive', function() {
68
68
69
69
it ( 'should have default pullingIcon' , function ( ) {
70
70
var el = setup ( ) ;
71
- expect ( el [ 0 ] . querySelector ( '.icon.icon -pulling.ion-arrow-down-c' ) ) . toBeTruthy ( ) ;
71
+ expect ( el [ 0 ] . querySelector ( '.icon-pulling .ion-arrow-down-c' ) ) . toBeTruthy ( ) ;
72
72
} ) ;
73
73
it ( 'should allow custom pullingIcon' , function ( ) {
74
74
var el = setup ( 'pulling-icon="super-icon"' ) ;
75
- expect ( el [ 0 ] . querySelector ( '.icon.icon -pulling.ion-arrow-down-c' ) ) . toBeFalsy ( ) ;
76
- expect ( el [ 0 ] . querySelector ( '.icon.icon -pulling.super-icon' ) ) . toBeTruthy ( ) ;
75
+ expect ( el [ 0 ] . querySelector ( '.icon-pulling .ion-arrow-down-c' ) ) . toBeFalsy ( ) ;
76
+ expect ( el [ 0 ] . querySelector ( '.icon-pulling .super-icon' ) ) . toBeTruthy ( ) ;
77
77
} ) ;
78
78
79
79
it ( 'should have default refreshingIcon' , function ( ) {
You can’t perform that action at this time.
0 commit comments