From 45b8ebd870b406409e0be204db68d74b2b423cfc Mon Sep 17 00:00:00 2001 From: Andre Medeiros Date: Mon, 12 Oct 2015 14:34:33 +0300 Subject: [PATCH] refactor(groupBy-spec): rename comparer to keySelector --- spec/operators/groupBy-spec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/spec/operators/groupBy-spec.js b/spec/operators/groupBy-spec.js index a00be13b39..b12af2243b 100644 --- a/spec/operators/groupBy-spec.js +++ b/spec/operators/groupBy-spec.js @@ -116,7 +116,7 @@ describe('Observable.prototype.groupBy()', function () { expectObservable(source).toBe(expected, expectedValues); }); - it('should group values with a key comparer', function () { + it('should group values with a keySelector', function () { var values = { a: ' foo', b: ' FoO ', @@ -163,7 +163,7 @@ describe('Observable.prototype.groupBy()', function () { expectObservable(source).toBe(expected, expectedValues); }); - it('should group values with a key comparer, assert GroupSubject key', function () { + it('should group values with a keySelector, assert GroupSubject key', function () { var values = { a: ' foo', b: ' FoO ', @@ -188,7 +188,7 @@ describe('Observable.prototype.groupBy()', function () { expectObservable(source).toBe(expected, expectedValues); }); - it('should group values with a key comparer, but outer throws', function () { + it('should group values with a keySelector, but outer throws', function () { var values = { a: ' foo', b: ' FoO ', @@ -213,7 +213,7 @@ describe('Observable.prototype.groupBy()', function () { expectObservable(source).toBe(expected, expectedValues); }); - it('should group values with a key comparer, inners propagate error from outer', function () { + it('should group values with a keySelector, inners propagate error from outer', function () { var values = { a: ' foo', b: ' FoO ', @@ -267,7 +267,7 @@ describe('Observable.prototype.groupBy()', function () { expectObservable(source, unsub).toBe(expected, expectedValues); }); - it('should group values with a key comparer, but comparer throws', function () { + it('should group values with a keySelector which eventually throws', function () { var values = { a: ' foo', b: ' FoO ', @@ -302,7 +302,7 @@ describe('Observable.prototype.groupBy()', function () { expectObservable(source).toBe(expected, expectedValues); }); - it('should group values with a key comparer and elementSelector, ' + + it('should group values with a keySelector and elementSelector, ' + 'but elementSelector throws', function () { var values = {