fix: Treat credential library attributes as an object

This commit is contained in:
Susmitha Girumala committed 2021-07-19 12:05:40 -04:00
1 parent 45fc58fe75
commit 98e14a642f
5 files changed
+13 -35

No files matched your search

@@ -1,29 +0,0 @@
import { module, test } from 'qunit';
import { setupRenderingTest } from 'ember-qunit';
import { render } from '@ember/test-helpers';
import { hbs } from 'ember-cli-htmlbars';
module(
'Integration | Component | form/credential-library/index',
function (hooks) {
setupRenderingTest(hooks);
test('it renders', async function (assert) {
// Set any properties with this.set('myProperty', 'value');
// Handle any actions with this.set('myAction', function(val) { ... });
await render(hbs`<Form::CredentialLibrary::Index />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Form::CredentialLibrary::Index>
template block text
</Form::CredentialLibrary::Index>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
}
);