diff --git a/test/unit/ajax.js b/test/unit/ajax.js index 1fcf5ea1..75ef26c9 100644 --- a/test/unit/ajax.js +++ b/test/unit/ajax.js @@ -74,7 +74,7 @@ test("Ajax events with context", function() { expect(6); stop(); - var context = {}; + var context = document.createElement("div"); function event(e){ equals( this, context, e.type );