chore: 🤖 polish card and example card usage

This commit is contained in:
Randall Morey committed 2021-06-22 12:58:34 -04:00
1 parent 8934e44558
commit 4abf4e5550
3 files changed
+13 -14

No files matched your search

@@ -13,10 +13,10 @@ module('Integration | Component | card', function (hooks) {
test('it renders with content', async function (assert) {
await render(hbs`
<Card as |card|>
<card.header></card.header>
<card.body></card.body>
<card.footer></card.footer>
<Card>
<:header></:header>
<:body></:body>
<:footer></:footer>
</Card>
`);
@@ -30,11 +30,10 @@ module('Integration | Component | card', function (hooks) {
await render(hbs`
<Card
@heading='This is a heading test'
@icon='key'
as |card|>
<card.header></card.header>
<card.body></card.body>
<card.footer></card.footer>
@icon='key'>
<:header></:header>
<:body></:body>
<:footer></:footer>
</Card>
`);