Adds tests

This commit is contained in:
gaba
2016-11-08 15:59:35 -08:00
parent 3d17dc4c1a
commit b19f936e64
3 changed files with 43 additions and 9 deletions
+7
View File
@@ -29,4 +29,11 @@ describe('Setting: model', () => {
});
});
describe('#getModerationSetting', () => {
it('should return the moderation settings', () => {
return Setting.getModerationSetting().then(({moderation}) => {
expect(moderation).not.to.be.null;
});
});
});
});