Skip to content

Commit

Permalink
Fix incorrect assertions
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffdaley committed Oct 27, 2023
1 parent 9a7fbb4 commit c987229
Showing 1 changed file with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ module("Integration | Component | x/dropdown-list", function (hooks) {
await render<XDropdownListCheckableItemTestContext>(hbs`
<X::DropdownList::CheckableItem
@checkmarkPosition={{this.checkmarkPosition}}
@isSelected={{false}}
@isSelected={{true}}
@count={{1}}
@value="foo"
/>
`);
Expand All @@ -69,8 +70,8 @@ module("Integration | Component | x/dropdown-list", function (hooks) {
"can render checkmark in trailing position",
);

assert.dom(CONTENT).hasClass("order-1");
assert.dom(COUNT).hasClass("order-2");
assert.dom(CHECK).hasClass("order-3");
assert.dom(CONTENT).hasStyle({ order: "1" });
assert.dom(COUNT).hasStyle({ order: "2" });
assert.dom(CHECK).hasStyle({ order: "3" });
});
});

0 comments on commit c987229

Please sign in to comment.