Files
ember-cli-dunlop/tests/integration/components/sortable-table-header-test.coffee
T

26 lines
662 B
CoffeeScript

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