0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00

Fixed settings tests

This commit is contained in:
Rish 2019-11-14 11:30:49 +05:30
parent 98364e4d66
commit 1d89bbc852

View file

@ -113,7 +113,7 @@ describe('Unit: models/settings', function () {
return models.Settings.populateDefaults()
.then(() => {
eventSpy.callCount.should.equal(82);
eventSpy.callCount.should.equal(84);
const eventsEmitted = eventSpy.args.map(args => args[0]);
const checkEventEmitted = event => should.ok(eventsEmitted.includes(event), `${event} event should be emitted`);
@ -135,7 +135,7 @@ describe('Unit: models/settings', function () {
return models.Settings.populateDefaults()
.then(() => {
eventSpy.callCount.should.equal(80);
eventSpy.callCount.should.equal(82);
eventSpy.args[13][0].should.equal('settings.logo.added');
});