Skip to content

Commit 7332d06

Browse files
committed
fixed test
1 parent 1be8bab commit 7332d06

File tree

1 file changed

+5
-2
lines changed
  • showcase/tests/integration/components/hds/layout/flex

1 file changed

+5
-2
lines changed

showcase/tests/integration/components/hds/layout/flex/index-test.js

+5-2
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,12 @@ module('Integration | Component | hds/layout/flex/index', function (hooks) {
9999
.doesNotHaveClass(/hds-layout-flex--row-gap-/)
100100
.doesNotHaveClass(/hds-layout-flex--column-gap-/);
101101
});
102-
test('it should render the correct CSS class if the @gap prop is declared as single value', async function (assert) {
102+
test('it should render the correct CSS classes if the @gap prop is declared as single value', async function (assert) {
103103
await render(hbs`<Hds::Layout::Flex id="test-layout-flex" @gap="24" />`);
104-
assert.dom('#test-layout-flex').hasClass('hds-layout-flex--gap-24');
104+
assert
105+
.dom('#test-layout-flex')
106+
.hasClass('hds-layout-flex--row-gap-24')
107+
.hasClass('hds-layout-flex--column-gap-24');
105108
});
106109
test('it should render the correct CSS class if the @gap prop is declared as a couple of values', async function (assert) {
107110
await render(

0 commit comments

Comments
 (0)