@@ -95,7 +95,6 @@ describe('ionList directive', function() {
95
95
expect ( deleteButtons . hasClass ( 'ng-hide' ) ) . toBe ( false ) ;
96
96
expect ( el . children ( ) . hasClass ( 'list-left-editing' ) ) . toBe ( true ) ;
97
97
var content = angular . element ( el [ 0 ] . querySelectorAll ( '.item-content' ) ) ;
98
- expect ( content . attr ( 'data-tap-disabled' ) ) . toEqual ( 'true' ) ;
99
98
} ) ) ;
100
99
101
100
it ( 'should watch ctrl.showDelete when false from true' , inject ( function ( $animate ) {
@@ -116,7 +115,6 @@ describe('ionList directive', function() {
116
115
expect ( deleteButtons . length ) . not . toBe ( 0 ) ;
117
116
expect ( el . children ( ) . hasClass ( 'list-left-editing' ) ) . toBe ( false ) ;
118
117
var content = angular . element ( el [ 0 ] . querySelectorAll ( '.item-content' ) ) ;
119
- expect ( content . attr ( 'data-tap-disabled' ) ) . toBeFalsy ( ) ;
120
118
} ) ) ;
121
119
122
120
it ( 'should watch ctrl.showReorder when true' , inject ( function ( $animate ) {
@@ -136,7 +134,6 @@ describe('ionList directive', function() {
136
134
expect ( reorderButtons . hasClass ( 'ng-hide' ) ) . toBe ( false ) ;
137
135
expect ( el . children ( ) . hasClass ( 'list-right-editing' ) ) . toBe ( true ) ;
138
136
var content = angular . element ( el [ 0 ] . querySelectorAll ( '.item-content' ) ) ;
139
- expect ( content . attr ( 'data-tap-disabled' ) ) . toEqual ( 'true' ) ;
140
137
} ) ) ;
141
138
142
139
it ( 'should watch ctrl.showReorder when false from true' , inject ( function ( $animate ) {
@@ -157,7 +154,6 @@ describe('ionList directive', function() {
157
154
expect ( reorderButtons . hasClass ( 'ng-hide' ) ) . toBe ( true ) ;
158
155
expect ( el . children ( ) . hasClass ( 'list-right-editing' ) ) . toBe ( false ) ;
159
156
var content = angular . element ( el [ 0 ] . querySelectorAll ( '.item-content' ) ) ;
160
- expect ( content . attr ( 'data-tap-disabled' ) ) . toBeFalsy ( ) ;
161
157
} ) ) ;
162
158
} ) ;
163
159
0 commit comments