From fc64a2249c1f57a78cc6a54e605ebbe3ca027cd1 Mon Sep 17 00:00:00 2001 From: Chris Manson Date: Tue, 23 Jul 2024 12:58:12 +0100 Subject: [PATCH] fix tests using peekRecord with upper-case ids --- tests/acceptance/class-test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/acceptance/class-test.js b/tests/acceptance/class-test.js index a7554d02..752b0739 100644 --- a/tests/acceptance/class-test.js +++ b/tests/acceptance/class-test.js @@ -15,7 +15,7 @@ module('Acceptance | Class', function (hooks) { test('lists all the methods on the class page', async function (assert) { const store = this.owner.lookup('service:store'); - const container = store.peekRecord('class', 'ember-1.0.0-Container'); + const container = store.peekRecord('class', 'ember-1.0.0-container'); assert.equal( findAll('.spec-method-list li').length, container.get('methods.length') @@ -32,7 +32,7 @@ module('Acceptance | Class', function (hooks) { test('lists all the properties on the class page', function (assert) { const store = this.owner.lookup('service:store'); - const container = store.peekRecord('class', 'ember-1.0.0-Container'); + const container = store.peekRecord('class', 'ember-1.0.0-container'); assert.equal( findAll('.spec-property-list li').length, container.get('properties.length') @@ -41,7 +41,7 @@ module('Acceptance | Class', function (hooks) { test('lists all the events on the class page', function (assert) { const store = this.owner.lookup('service:store'); - const container = store.peekRecord('class', 'ember-1.0.0-Container'); + const container = store.peekRecord('class', 'ember-1.0.0-container'); assert.equal( findAll('.spec-event-list li').length, container.get('events.length')