Commit a95309fe authored by Romain Courteaud's avatar Romain Courteaud

Typo in queue test

parent 926895ac
...@@ -2420,7 +2420,7 @@ describe("`RSVP.Queue`", function () { ...@@ -2420,7 +2420,7 @@ describe("`RSVP.Queue`", function () {
later_error_thenable_called = false, later_error_thenable_called = false,
queue = new RSVP.Queue() queue = new RSVP.Queue()
.push(function () { .push(function () {
return new Promise( return new RSVP.Promise(
function () { function () {
thenable_ongoing = true; thenable_ongoing = true;
}, },
...@@ -2471,7 +2471,7 @@ describe("`RSVP.Queue`", function () { ...@@ -2471,7 +2471,7 @@ describe("`RSVP.Queue`", function () {
return RSVP.reject(1); return RSVP.reject(1);
}) })
.push(undefined, function () { .push(undefined, function () {
return new Promise( return new RSVP.Promise(
function () { function () {
thenable_ongoing = true; thenable_ongoing = true;
}, },
......
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