Mercurial > bugzilla-dashboard
diff js/tests/test-bugzilla.js @ 102:00b02ba5236c
made all delegates have a dotted name (namespaced), modified black-box.js a bit
author | Atul Varma <avarma@mozilla.com> |
---|---|
date | Wed, 28 Apr 2010 20:06:26 -0700 |
parents | 544d339d2b4c |
children |
line wrap: on
line diff
--- a/js/tests/test-bugzilla.js Wed Apr 28 18:37:08 2010 -0700 +++ b/js/tests/test-bugzilla.js Wed Apr 28 20:06:26 2010 -0700 @@ -2,12 +2,12 @@ var require = Require.build(); var actual = []; var expected = [ - ["open",["GET", - "https://api-dev.bugzilla.mozilla.org/latest/configuration"]], - ["setRequestHeader",["Accept","application/json"]], - ["setRequestHeader",["Content-Type","application/json"]], - ["addEventListener",["load",false]], - ["send",[null]] + ["xhr.open",["GET", + "https://api-dev.bugzilla.mozilla.org/latest/configuration"]], + ["xhr.setRequestHeader",["Accept","application/json"]], + ["xhr.setRequestHeader",["Content-Type","application/json"]], + ["xhr.addEventListener",["load",false]], + ["xhr.send",[null]] ]; expect(expected.length);