renamed .list to .getGroupsFromSet

This commit is contained in:
Barış Soner Uşaklı
2015-06-02 16:33:56 -04:00
parent 4e06b7790f
commit b45fa811b4

View File

@@ -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);