diff --git a/lib/util/settings.js b/lib/util/settings.js index 65442959b..9b24c8e83 100644 --- a/lib/util/settings.js +++ b/lib/util/settings.js @@ -84,7 +84,7 @@ function write() { const settings = getSettings(); const toWrite = objectAssignDeep.noMutate(settings); - // Read settings to check if we have to split devices/groups into seperate file. + // Read settings to check if we have to split devices/groups into separate file. const actual = readYaml(file); if (typeof actual.devices === 'string') { writeYaml(data.joinPath(actual.devices), settings.devices); diff --git a/test/settings.test.js b/test/settings.test.js index 273e4928d..83adc7000 100644 --- a/test/settings.test.js +++ b/test/settings.test.js @@ -91,7 +91,7 @@ describe('Settings', () => { assert.deepEqual(device, expected); }); - it('Should read devices form a seperate file', () => { + it('Should read devices form a separate file', () => { const contentConfiguration = { devices: 'devices.yaml', }; @@ -115,7 +115,7 @@ describe('Settings', () => { assert.deepEqual(device, expected); }); - it('Should add devices to a seperate file', () => { + it('Should add devices to a separate file', () => { const contentConfiguration = { devices: 'devices.yaml', }; @@ -149,7 +149,7 @@ describe('Settings', () => { assert.deepEqual(read(devicesFile), expected); }); - it('Should add devices to a seperate file if devices.yaml doesnt exist', () => { + it('Should add devices to a separate file if devices.yaml doesnt exist', () => { const contentConfiguration = { devices: 'devices.yaml', }; @@ -171,7 +171,7 @@ describe('Settings', () => { assert.deepEqual(read(devicesFile), expected); }); - it('Should add and remove devices to a seperate file if devices.yaml doesnt exist', () => { + it('Should add and remove devices to a separate file if devices.yaml doesnt exist', () => { const contentConfiguration = { devices: 'devices.yaml', }; @@ -207,7 +207,7 @@ describe('Settings', () => { assert.deepEqual(group, expected); }); - it('Should read groups form a seperate file', () => { + it('Should read groups form a separate file', () => { const contentConfiguration = { groups: 'groups.yaml', }; @@ -229,7 +229,7 @@ describe('Settings', () => { assert.deepEqual(group, expected); }); - it('Combine everything! groups and devices from separte file :)', () => { + it('Combine everything! groups and devices from separate file :)', () => { const contentConfiguration = { devices: 'devices.yaml', groups: 'groups.yaml',