mirror of
https://github.com/Dahlgren/arma-server-web-admin.git
synced 2024-08-30 17:22:10 +00:00
17 lines
366 B
JavaScript
17 lines
366 B
JavaScript
|
var should = require('should');
|
||
|
|
||
|
var Mods = require('../../lib/mods.js');
|
||
|
|
||
|
describe('Mods', function() {
|
||
|
describe('search()', function() {
|
||
|
it('should find mods', function(done) {
|
||
|
var mods = new Mods();
|
||
|
mods.search('', function (err, mods) {
|
||
|
should(err).be.null;
|
||
|
mods.should.not.be.empty;
|
||
|
done();
|
||
|
});
|
||
|
});
|
||
|
});
|
||
|
});
|