From 79049b9fee5690b8370c51e0fbb82d7a16b787fc Mon Sep 17 00:00:00 2001 From: Shyam Seshadri Date: Thu, 14 Mar 2013 22:12:38 +0530 Subject: Fix failing test in IE 10 --- test/ng/directive/formSpec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/ng/directive/formSpec.js b/test/ng/directive/formSpec.js index 9fe98570..0e3695cd 100644 --- a/test/ng/directive/formSpec.js +++ b/test/ng/directive/formSpec.js @@ -228,8 +228,8 @@ describe('form', function() { // the issue in the wild, I'm not going to bother to do it // now. (i) - // IE9 is special and it doesn't fire submit event when form was destroyed - if (msie != 9) { + // IE9 and IE10 are special and don't fire submit event when form was destroyed + if (msie < 9) { expect(reloadPrevented).toBe(true); $timeout.flush(); } -- cgit v1.2.3