diff --git a/tests/groups.js b/tests/groups.js index b9a0c15c33..d16050f408 100644 --- a/tests/groups.js +++ b/tests/groups.js @@ -34,7 +34,7 @@ describe('Groups', function() { describe('.list()', function() { it('should list the groups present', function(done) { - Groups.list(0, 0, -1, function(err, groups) { + Groups.getGroupsFromSet('groups:createtime', 0, 0, -1, function(err, groups) { if (err) return done(err); assert.equal(groups.length, 2);