Skip to content

Commit

Permalink
Fixed settings tests
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhgrg committed Nov 14, 2019
1 parent 98364e4 commit 1d89bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/test/unit/models/settings_spec.js
Expand Up @@ -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`);

Expand All @@ -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');
});
Expand Down

0 comments on commit 1d89bbc

Please sign in to comment.