Commit 8f9c4fbc authored by Thibaut Frain's avatar Thibaut Frain

Update to pass test on chrome (Not the same error message)

parent a9e59723
...@@ -1282,7 +1282,9 @@ ...@@ -1282,7 +1282,9 @@
gadget.acquire() gadget.acquire()
.fail(function (error) { .fail(function (error) {
ok(error instanceof TypeError); ok(error instanceof TypeError);
equal(error.message, "gadget.aq_parent is undefined"); console.log(error.message);
ok((error.message === "gadget.aq_parent is undefined" )||
(error.message === "Cannot call method 'apply' of undefined"));
}) })
.always(function () { .always(function () {
start(); start();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment