fix: Reload host-set to get all attributes

Update comments
This commit is contained in:
Susmitha Girumala committed 2020-09-10 15:11:45 -04:00
1 parent b942257d12
commit 7186304f3a
6 files changed
+32 -38

No files matched your search

@@ -0,0 +1,12 @@
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', function(hooks) {
setupRenderingTest(hooks);
test('it renders', async function(assert) {
assert.expect(0);
});
});
@@ -1,26 +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/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');
});
});