mirror of
https://github.com/discourse/discourse.git
synced 2025-01-18 11:02:46 +08:00
DEV: Fix incorrect hbs syntax in tests (#27345)
This commit is contained in:
parent
f2c4474c1e
commit
26198fb328
|
@ -127,7 +127,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) {
|
|||
|
||||
test("<:trigger>", async function (assert) {
|
||||
await render(
|
||||
hbs`<DMenu @inline={{true}}><:trigger>label</:trigger></DMenu />`
|
||||
hbs`<DMenu @inline={{true}}><:trigger>label</:trigger></DMenu>`
|
||||
);
|
||||
|
||||
assert.dom(".fk-d-menu__trigger").containsText("label");
|
||||
|
@ -135,7 +135,7 @@ module("Integration | Component | FloatKit | d-menu", function (hooks) {
|
|||
|
||||
test("<:content>", async function (assert) {
|
||||
await render(
|
||||
hbs`<DMenu @inline={{true}}><:content>content</:content></DMenu />`
|
||||
hbs`<DMenu @inline={{true}}><:content>content</:content></DMenu>`
|
||||
);
|
||||
|
||||
await open();
|
||||
|
|
Loading…
Reference in New Issue
Block a user