diff --git a/test/AngularSpec.js b/test/AngularSpec.js index a4c2b4f8..4f4a3aed 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -798,7 +798,7 @@ describe('angular', function() { expect(function () { angular.bootstrap(element); }).toThrowMatching( - /\[ng:btstrpd\] App Already Bootstrapped with this Element '
'/i + /\[ng:btstrpd\] App Already Bootstrapped with this Element '
'/i ); dealoc(element); diff --git a/test/helpers/testabilityPatch.js b/test/helpers/testabilityPatch.js index 658d1883..1a076489 100644 --- a/test/helpers/testabilityPatch.js +++ b/test/helpers/testabilityPatch.js @@ -167,7 +167,7 @@ function sortedHtml(element, showNgClass) { attr.name !='style' && attr.name.substr(0, 6) != 'jQuery') { // in IE we need to check for all of these. - if (/ng-\d+/.exec(attr.name) || + if (/ng\d+/.exec(attr.name) || attr.name == 'getElementById' || // IE7 has `selected` in attributes attr.name == 'selected' ||