From 84961dcf89333cbf5c226e9886810957ad6e06a6 Mon Sep 17 00:00:00 2001 From: Chris Thoburn Date: Thu, 17 Nov 2016 17:26:42 -0800 Subject: [PATCH] fix test usage of store.recordIsLoaded --- tests/unit/model-test.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/unit/model-test.js b/tests/unit/model-test.js index 5afdfe4ec7b..4bf896805ad 100644 --- a/tests/unit/model-test.js +++ b/tests/unit/model-test.js @@ -953,10 +953,10 @@ module("unit/model - with a simple Person model", { }); test("can ask if record with a given id is loaded", function(assert) { - assert.equal(store.recordIsLoaded('person', 1), true, 'should have person with id 1'); - assert.equal(store.recordIsLoaded('person', 1), true, 'should have person with id 1'); - assert.equal(store.recordIsLoaded('person', 4), false, 'should not have person with id 4'); - assert.equal(store.recordIsLoaded('person', 4), false, 'should not have person with id 4'); + assert.equal(store.hasRecordForId('person', 1), true, 'should have person with id 1'); + assert.equal(store.hasRecordForId('person', 1), true, 'should have person with id 1'); + assert.equal(store.hasRecordForId('person', 4), false, 'should not have person with id 4'); + assert.equal(store.hasRecordForId('person', 4), false, 'should not have person with id 4'); }); test("a listener can be added to a record", function(assert) {