Lines Matching refs:pluck
23 assert.deepEqual(col.pluck('label'), ['a', 'b', 'c', 'd']);
29 assert.deepEqual(col.pluck('label'), ['a', 'b', 'c', 'd']);
33 assert.deepEqual(col.pluck('label'), ['d', 'c', 'b', 'a']);
44 assert.deepEqual(collection.pluck('id'), [1, 2, 3]);
147 assert.equal(col.pluck('label').join(' '), 'a b c d');
214 assert.equal(collection.pluck('id').join(' '), '3 1 2');
222 assert.equal(collection.pluck('id').join(' '), '2 3 1');
227 assert.equal(collection.pluck('id').join(' '), '1 2 3');
334 assert.deepEqual(collection.pluck('id'), [3, 2, 1]);
339 assert.deepEqual(collection.pluck('id'), [1, 2, 3]);
914 assert.deepEqual(collection.pluck('id'), [1, 2, 4, 5, 6]);
1063 assert.deepEqual(collection.pluck('id'), [2, 1]);
1306 assert.deepEqual(collection.pluck('id'), [2, 1]);
1822 assert.equal(collection.pluck('id').join(','), '0.5,1,2,2.5,3');
1829 assert.deepEqual(collection.pluck('id'), [1, 3, 2]);