Files
2017-12-21 11:42:41 +01:00

26 lines
642 B
CoffeeScript

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