diff --git a/test/ng/directive/inputSpec.js b/test/ng/directive/inputSpec.js index e112f8326641..85f6b7a89f03 100644 --- a/test/ng/directive/inputSpec.js +++ b/test/ng/directive/inputSpec.js @@ -853,6 +853,9 @@ describe('input', function() { }); it('should validate when timezone is provided.', function() { + // We cannot use the default element + dealoc(inputElm); + inputElm = helper.compileInput(''); $rootScope.maxVal = '2013-01'; @@ -1127,6 +1130,9 @@ describe('input', function() { }); it('should validate when timezone is provided.', function() { + // We cannot use the default element + dealoc(inputElm); + inputElm = helper.compileInput(''); // The calendar week comparison date is January 17. Setting the timezone to -2400 @@ -1434,6 +1440,9 @@ describe('input', function() { }); it('should validate when timezone is provided.', function() { + // We cannot use the default element + dealoc(inputElm); + inputElm = helper.compileInput(''); $rootScope.maxVal = '2013-01-01T00:00:00'; @@ -1788,6 +1797,9 @@ describe('input', function() { }); it('should validate when timezone is provided.', function() { + // We cannot use the default element + dealoc(inputElm); + inputElm = helper.compileInput(''); $rootScope.maxVal = '22:30:00';