import { test, moduleForComponent } from 'ember-qunit' import hbs from 'htmlbars-inline-precompile' moduleForComponent 'action-identifier-info-popup', 'Integration | Component | action identifier info popup', { integration: true } test 'it renders', (assert) -> assert.expect 2 # Set any properties with @set 'myProperty', 'value' # Handle any actions with @on 'myAction', (val) -> @render hbs """{{action-identifier-info-popup}}""" assert.equal @$().text().trim(), '' # Template block usage: @render hbs """ {{#action-identifier-info-popup}} template block text {{/action-identifier-info-popup}} """ assert.equal @$().text().trim(), 'template block text'