diff --git a/packages/-ember-data/tests/helpers/watch-property.js b/packages/-ember-data/tests/helpers/watch-property.js index 6d2ebac7abb..ed4872d8971 100644 --- a/packages/-ember-data/tests/helpers/watch-property.js +++ b/packages/-ember-data/tests/helpers/watch-property.js @@ -90,7 +90,7 @@ QUnit.assert.watchedPropertyCounts = function assertWatchedPropertyCount(watched expectedCount = expectedCount[0]; } - assertionText += ` | Expected ${expectedCount} change notifications for ${propertyName} but recieved ${counter.count}`; + assertionText += ` | Expected ${expectedCount} change notifications for ${propertyName} but received ${counter.count}`; if (counter === undefined) { throw new Error(`Cannot assert expected count for ${propertyName} as there is no watcher for that property`); diff --git a/packages/-ember-data/tests/integration/store-test.js b/packages/-ember-data/tests/integration/store-test.js index dcbe559f596..427dcf13374 100644 --- a/packages/-ember-data/tests/integration/store-test.js +++ b/packages/-ember-data/tests/integration/store-test.js @@ -228,7 +228,7 @@ module('integration/store - destroy', function(hooks) { run(store, 'destroy'); - assert.equal(personWillDestroy.called.length, 1, 'expected person to have recieved willDestroy once'); + assert.equal(personWillDestroy.called.length, 1, 'expected person to have received willDestroy once'); assert.equal(carWillDestroy.called.length, 1, 'expected car to recieve willDestroy once'); assert.equal(carsWillDestroy.called.length, 1, 'expected person.cars to recieve willDestroy once'); assert.equal( @@ -561,7 +561,7 @@ module('integration/store - findRecord', function(hooks) { badValues.map(item => { assert.expectAssertion(() => { store.findRecord('car', item); - }, `Expected id to be a string or number, recieved ${String(item)}`); + }, `Expected id to be a string or number, received ${String(item)}`); }); }); } diff --git a/packages/-ember-data/tests/unit/store/peek-record-test.js b/packages/-ember-data/tests/unit/store/peek-record-test.js index 018ceebee79..ec310b1c007 100644 --- a/packages/-ember-data/tests/unit/store/peek-record-test.js +++ b/packages/-ember-data/tests/unit/store/peek-record-test.js @@ -50,7 +50,7 @@ module('unit/store/peekRecord - Store peekRecord', function(hooks) { run(() => { assert.expectAssertion(() => { store.peekRecord('my-id'); - }, /Expected id to be a string or number, recieved undefined/); + }, /Expected id to be a string or number, received undefined/); }); }); diff --git a/packages/record-data/addon/-private/coerce-id.ts b/packages/record-data/addon/-private/coerce-id.ts index 26db1c73e37..e9f341d774a 100644 --- a/packages/record-data/addon/-private/coerce-id.ts +++ b/packages/record-data/addon/-private/coerce-id.ts @@ -30,7 +30,7 @@ export function ensureStringId(id: Coercable): string { } if (DEBUG && normalized === null) { - throw new Error(`Expected id to be a string or number, recieved ${String(id)}`); + throw new Error(`Expected id to be a string or number, received ${String(id)}`); } return normalized!; diff --git a/packages/store/addon/-private/system/coerce-id.ts b/packages/store/addon/-private/system/coerce-id.ts index 8739ba5ecf0..d5659675e98 100644 --- a/packages/store/addon/-private/system/coerce-id.ts +++ b/packages/store/addon/-private/system/coerce-id.ts @@ -33,7 +33,7 @@ export function ensureStringId(id: Coercable): string { } if (DEBUG && normalized === null) { - throw new Error(`Expected id to be a string or number, recieved ${String(id)}`); + throw new Error(`Expected id to be a string or number, received ${String(id)}`); } return normalized!;