Files
ember-panda/tests/integration/components/project/instance-action-value-display-test.coffee
2017-12-21 11:51:55 +01:00

26 lines
742 B
CoffeeScript

import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'project/instance-action-value-display', 'Integration | Component | project/instance action value display', {
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 """{{project/instance-action-value-display}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#project/instance-action-value-display}}
template block text
{{/project/instance-action-value-display}}
"""
assert.equal @$().text().trim(), 'template block text'