Skip to content

Commit

Permalink
fix tests using peekRecord with upper-case ids
Browse files Browse the repository at this point in the history
  • Loading branch information
mansona committed Jul 23, 2024
1 parent b260172 commit fc64a22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/acceptance/class-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -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')
Expand All @@ -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')
Expand Down

0 comments on commit fc64a22

Please sign in to comment.