diff --git a/js/ext/angular/test/service/ionicTap.unit.js b/js/ext/angular/test/service/ionicTap.unit.js index 0146f95d2e..9adb153b4c 100644 --- a/js/ext/angular/test/service/ionicTap.unit.js +++ b/js/ext/angular/test/service/ionicTap.unit.js @@ -174,22 +174,18 @@ describe('Ionic Tap', function() { expect( ionic.tap.ignoreSimulateClick( document.createElement('select') ) ).toEqual(false); }); - it('Should correctly check for tap elements', function() { - expect(ionic.tap.isTapElement('A')).toEqual(true); - expect(ionic.tap.isTapElement('INPUT')).toEqual(true); - expect(ionic.tap.isTapElement('BUTTON')).toEqual(true); - expect(ionic.tap.isTapElement('LABEL')).toEqual(true); - expect(ionic.tap.isTapElement('TEXTAREA')).toEqual(true); - expect(ionic.tap.isTapElement('SELECT')).toEqual(true); + it('Should be a tap element', function() { + var tags = ['A', 'INPUT', 'BUTTON', 'LABEL', 'TEXTAREA', 'SELECT']; + for(var x=0; x