Node.js based forum software built for the modern web
added groups.exists([]) test
barisusaklic7c503f56323
diff --git a/tests/groups.js b/tests/groups.jsindex deceb4f3fd..81fb253433 100644--- a/tests/groups.js+++ b/tests/groups.js@@ -139,6 +139,16 @@ describe('Groups', function() {done();});});++ it('should check if group exists using an array', function(done) {+ Groups.exists(['Test', 'Derp'], function(err, groupsExists) {+ if (err) return done(err);++ assert.strictEqual(groupsExists[0], true);+ assert.strictEqual(groupsExists[1], false);+ done();+ });+ });});describe('.create()', function() {