user-filters-manager basic working crud minus update (delete -> create for this one)

This commit is contained in:
2018-12-06 10:00:38 -05:00
parent 9881c5d7d4
commit ece9dfa213
9 changed files with 163 additions and 0 deletions
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'user-filters-manager/filter-row', 'Integration | Component | user filters manager/filter row', {
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 """{{user-filters-manager/filter-row}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#user-filters-manager/filter-row}}
template block text
{{/user-filters-manager/filter-row}}
"""
assert.equal @$().text().trim(), 'template block text'