From 29c0d790b51f187d6ce74fe8603013544a9217df Mon Sep 17 00:00:00 2001 From: John McLear Date: Thu, 14 Mar 2013 14:48:23 -0300 Subject: [PATCH] fix undo test --- tests/frontend/specs/undo.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/frontend/specs/undo.js b/tests/frontend/specs/undo.js index 6fed22e38..0c58c9b84 100644 --- a/tests/frontend/specs/undo.js +++ b/tests/frontend/specs/undo.js @@ -44,7 +44,7 @@ describe("undo button", function(){ var modifiedValue = $firstTextElement.text(); // get the modified value expect(modifiedValue).not.to.be(originalValue); // expect the value to change - if(!inner$.browser.firefox){ + if(inner$.browser.mozilla){ // if it's a mozilla browser var evtType = "keypress"; }else{ var evtType = "keydown";