Skip to content

Commit

Permalink
test(lt-body/scaffolding): use querySelectorAll for subquery
Browse files Browse the repository at this point in the history
  • Loading branch information
buschtoens committed Apr 19, 2018
1 parent 9efeb84 commit a3af0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/integration/components/lt-body-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ module('Integration | Component | lt body', function(hooks) {
await render(hbs `{{lt-body table=table sharedOptions=sharedOptions enableScaffolding=true}}`);

const [scaffoldingRow, userRow] = findAll('tr');
const userCells = findAll('.lt-cell', userRow);
const userCells = userRow.querySelectorAll('.lt-cell');

assert.ok(hasClass(scaffoldingRow, 'lt-scaffolding-row'), 'the first row of the <tbody> is a scaffolding row');
assert.notOk(hasClass(userRow, 'lt-scaffolding-row'), 'the second row of the <tbody> is not a scaffolding row');
Expand Down

0 comments on commit a3af0b4

Please sign in to comment.