diff --git a/test/generator/component-ref/Widget.html b/test/generator/component-ref/Widget.html index 460a2a1c01..c5a462601a 100644 --- a/test/generator/component-ref/Widget.html +++ b/test/generator/component-ref/Widget.html @@ -1 +1,9 @@

i am a widget

+ + diff --git a/test/generator/component-ref/_config.js b/test/generator/component-ref/_config.js index 09ce6f0f88..25749f58d9 100644 --- a/test/generator/component-ref/_config.js +++ b/test/generator/component-ref/_config.js @@ -1,9 +1,7 @@ -import Widget from './Widget.html'; - export default { html: '

i am a widget

', test ( assert, component ) { const widget = component.refs.widget; - assert.ok( widget instanceof Widget ); + assert.ok( widget.isWidget ); } };