feat: Add credential libraries association form in target

This commit is contained in:
Susmitha Girumala committed 2021-07-25 10:11:11 -04:00
1 parent 89b7d0345a
commit 8f2deadc49
10 files changed
+256

No files matched your search

@@ -0,0 +1,29 @@
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/target/add-credential-libraries/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::Target::AddCredentialLibraries::Index />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Form::Target::AddCredentialLibraries::Index>
template block text
</Form::Target::AddCredentialLibraries::Index>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
}
);