Commit db474da1 authored by Stefan Penner's avatar Stefan Penner

don't short circuit, as we want a new promise.

parent 47b35e23
...@@ -665,12 +665,6 @@ describe("RSVP extensions", function() { ...@@ -665,12 +665,6 @@ describe("RSVP extensions", function() {
assert(RSVP.resolve); assert(RSVP.resolve);
}); });
specify("it short circuits if RSVP.promise", function(){
var deferred = new RSVP.defer();
assert.equal(RSVP.resolve(deferred.promise), deferred.promise);
});
describe("1. If x is a promise, adopt its state ", function(){ describe("1. If x is a promise, adopt its state ", function(){
specify("1.1 If x is pending, promise must remain pending until x is fulfilled or rejected.", function(done){ specify("1.1 If x is pending, promise must remain pending until x is fulfilled or rejected.", function(done){
var expectedValue, resolver, thenable, wrapped; var expectedValue, resolver, thenable, wrapped;
......
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