feat: Update host association view in a hostset

This commit is contained in:
Susmitha Girumala committed 2020-09-10 15:11:44 -04:00
1 parent 066c033739
commit c4247ee9e1
12 files changed
+337 -44

No files matched your search

@@ -0,0 +1,26 @@
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/host-set/add-hosts/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::HostSet::AddHosts::Index />`);
assert.equal(this.element.textContent.trim(), '');
// Template block usage:
await render(hbs`
<Form::HostSet::AddHosts::Index>
template block text
</Form::HostSet::AddHosts::Index>
`);
assert.equal(this.element.textContent.trim(), 'template block text');
});
});