Files
ember-panda/tests/integration/components/organization-statistics1-test.coffee

26 lines
677 B
CoffeeScript

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