initial github commit

This commit is contained in:
2017-12-21 11:42:41 +01:00
commit a57548c7da
209 changed files with 3841 additions and 0 deletions
View File
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'collapsible-content', 'Integration | Component | collapsible content', {
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 """{{collapsible-content}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#collapsible-content}}
template block text
{{/collapsible-content}}
"""
assert.equal @$().text().trim(), 'template block text'
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'editable-attribute', 'Integration | Component | editable attribute', {
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 """{{editable-attribute}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#editable-attribute}}
template block text
{{/editable-attribute}}
"""
assert.equal @$().text().trim(), 'template block text'
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'error-handling', 'Integration | Component | error handling', {
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 """{{error-handling}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#error-handling}}
template block text
{{/error-handling}}
"""
assert.equal @$().text().trim(), 'template block text'
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'number-input', 'Integration | Component | number input', {
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 """{{number-input}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#number-input}}
template block text
{{/number-input}}
"""
assert.equal @$().text().trim(), 'template block text'
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'pagination-progress', 'Integration | Component | pagination progress', {
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 """{{pagination-progress}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#pagination-progress}}
template block text
{{/pagination-progress}}
"""
assert.equal @$().text().trim(), 'template block text'
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'push-action', 'Integration | Component | push action', {
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 """{{push-action}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#push-action}}
template block text
{{/push-action}}
"""
assert.equal @$().text().trim(), 'template block text'
@@ -0,0 +1,25 @@
import { test, moduleForComponent } from 'ember-qunit'
import hbs from 'htmlbars-inline-precompile'
moduleForComponent 'ui-calendar-moment', 'Integration | Component | ui calendar moment', {
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-calendar-moment}}"""
assert.equal @$().text().trim(), ''
# Template block usage:
@render hbs """
{{#ui-calendar-moment}}
template block text
{{/ui-calendar-moment}}
"""
assert.equal @$().text().trim(), 'template block text'
@@ -0,0 +1,25 @@
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'