diff --git a/test/AngularSpec.js b/test/AngularSpec.js index ea720466..2a266820 100644 --- a/test/AngularSpec.js +++ b/test/AngularSpec.js @@ -795,7 +795,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 34b6b78a..ef7fc150 100644 --- a/test/helpers/testabilityPatch.js +++ b/test/helpers/testabilityPatch.js @@ -166,7 +166,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' ||