mirror of
https://github.com/wassname/talk.git
synced 2026-07-29 11:28:24 +08:00
whoops missed some semicolons
This commit is contained in:
@@ -9,8 +9,8 @@ describe('Setting: model', () => {
|
||||
|
||||
beforeEach(() => {
|
||||
const defaults = {id: 1, moderation: 'pre'};
|
||||
return Setting.update({id: '1'}, {$setOnInsert: defaults}, {upsert: true})
|
||||
})
|
||||
return Setting.update({id: '1'}, {$setOnInsert: defaults}, {upsert: true});
|
||||
});
|
||||
|
||||
describe('#getSettings()', () => {
|
||||
it('should have a moderation field defined', () => {
|
||||
|
||||
@@ -27,7 +27,7 @@ describe('GET /settings', () => {
|
||||
expect(res.body).to.have.property('moderation');
|
||||
expect(res.body.moderation).to.equal('pre');
|
||||
done(err);
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user