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:
parent
98364e4d66
commit
1d89bbc852
1 changed files with 2 additions and 2 deletions
|
@ -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');
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue