chore: 🤖 tweak tests and remove unused class file
This commit is contained in:
3 files changed
+3
-10
No files matched your search
@@ -1,8 +0,0 @@
|
||||
import Component from '@glimmer/component';
|
||||
import { generateComponentID } from '../../../utilities/component-auto-id';
|
||||
|
||||
export default class RoseToolbarComponent extends Component {
|
||||
// =attributes
|
||||
|
||||
id = generateComponentID();
|
||||
}
|
||||
@@ -7,12 +7,13 @@ module('Integration | Component | rose/toolbar', function (hooks) {
|
||||
setupRenderingTest(hooks);
|
||||
|
||||
test('it renders', async function (assert) {
|
||||
assert.expect(1);
|
||||
await render(hbs`<Rose::Toolbar />`);
|
||||
assert.ok(find('div'));
|
||||
assert.ok(find('.rose-toolbar'));
|
||||
});
|
||||
|
||||
test('it renders with attributes', async function (assert) {
|
||||
assert.expect(1);
|
||||
await render(hbs`<Rose::Toolbar id="toolbar"/>`);
|
||||
assert.ok(find('#toolbar'));
|
||||
});
|
||||
|
||||
@@ -125,4 +125,4 @@
|
||||
|
||||
</page.body>
|
||||
|
||||
</Rose::Layout::Page>
|
||||
</Rose::Layout::Page>
|
||||
Reference in new issue
Block a user