Skip to content

Commit

Permalink
test(single): remove duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
figueredo committed Dec 13, 2015
1 parent 7f67b09 commit ec69fe7
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions spec/operators/single-spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,19 +144,4 @@ describe('Observable.prototype.single()', function () {
expectObservable(e1.single(predicate)).toBe(expected, {z: undefined});
expectSubscriptions(e1.subscriptions).toBe(e1subs);
});

it('should not break unsubscription chain when unsubscribed explicitly', function () {
var e1 = hot('--a--b--c--|');
var unsub = ' ! ';
var e1subs = '^ ! ';
var expected = '---- ';

var result = e1
.mergeMap(function (x) { return Observable.of(x); })
.single()
.mergeMap(function (x) { return Observable.of(x); });

expectObservable(result, unsub).toBe(expected);
expectSubscriptions(e1.subscriptions).toBe(e1subs);
});
});

0 comments on commit ec69fe7

Please sign in to comment.