Skip to content

Commit

Permalink
Enabled broken eval test
Browse files Browse the repository at this point in the history
  • Loading branch information
assaf committed Jan 6, 2012
1 parent 1ae5ff8 commit 301a8c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/script_spec.coffee
Expand Up @@ -176,6 +176,7 @@ Vows.describe("Scripts").addBatch
var foo = "NotOne";
var e_foo = e("foo");
var qux = window.eval.call(window, "foo");
console.log(qux)
document.title = eval('e_foo + bar + baz + qux');
})();
Expand All @@ -185,7 +186,7 @@ Vows.describe("Scripts").addBatch
browser = new Browser
browser.wants "http://localhost:3003/script/eval", @callback
"should evaluate in global scope": (browser)->
#assert.equal browser.document.title, "OneTwoThreeFour"
assert.equal browser.document.title, "OneTwoThreeFour"


.addBatch
Expand Down

0 comments on commit 301a8c7

Please sign in to comment.