Merge remote-tracking branch 'origin/master' into socket.io1.x

v1.18.x
barisusakli 10 years ago
commit 1db2a447d7

@ -76,6 +76,7 @@ describe('Groups', function() {
describe('.search()', function() {
it('should return the "Test" group when searched for', function(done) {
Groups.search('test', {}, function(err, groups) {
if (err) return done(err);
assert.equal(1, groups.length);
assert.strictEqual('Test', groups[0].name);
done();
@ -86,6 +87,7 @@ describe('Groups', function() {
Groups.search('hidden', {
showAllGroups: true
}, function(err, groups) {
if (err) return done(err);
assert.equal(1, groups.length);
assert.strictEqual('Hidden', groups[0].name);
done();

Loading…
Cancel
Save