Skip to content

Commit

Permalink
test(ionList): remove tap-disabled from tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ajoslin committed Jul 7, 2014
1 parent 4c6916d commit da8a24d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/unit/angular/directive/list.unit.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@ describe('ionList directive', function() {
expect(deleteButtons.hasClass('ng-hide')).toBe(false);
expect(el.children().hasClass('list-left-editing')).toBe(true);
var content = angular.element(el[0].querySelectorAll('.item-content'));
expect(content.attr('data-tap-disabled')).toEqual('true');
}));

it('should watch ctrl.showDelete when false from true', inject(function($animate) {
Expand All @@ -116,7 +115,6 @@ describe('ionList directive', function() {
expect(deleteButtons.length).not.toBe(0);
expect(el.children().hasClass('list-left-editing')).toBe(false);
var content = angular.element(el[0].querySelectorAll('.item-content'));
expect(content.attr('data-tap-disabled')).toBeFalsy();
}));

it('should watch ctrl.showReorder when true', inject(function($animate) {
Expand All @@ -136,7 +134,6 @@ describe('ionList directive', function() {
expect(reorderButtons.hasClass('ng-hide')).toBe(false);
expect(el.children().hasClass('list-right-editing')).toBe(true);
var content = angular.element(el[0].querySelectorAll('.item-content'));
expect(content.attr('data-tap-disabled')).toEqual('true');
}));

it('should watch ctrl.showReorder when false from true', inject(function($animate) {
Expand All @@ -157,7 +154,6 @@ describe('ionList directive', function() {
expect(reorderButtons.hasClass('ng-hide')).toBe(true);
expect(el.children().hasClass('list-right-editing')).toBe(false);
var content = angular.element(el[0].querySelectorAll('.item-content'));
expect(content.attr('data-tap-disabled')).toBeFalsy();
}));
});

0 comments on commit da8a24d

Please sign in to comment.