Sha256: b3c4bda18647d6f1bb733a9ec7f6fd9df9362758f38217546af34c4a7ae41a10
Contents?: true
Size: 642 Bytes
Versions: 7
Compression:
Stored size: 642 Bytes
Contents
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('bsy-alert', 'Integration | Component | bsy alert', { integration: true }); test('it renders', function(assert) { // Set any properties with this.set('myProperty', 'value'); // Handle any actions with this.on('myAction', function(val) { ... });" this.render(hbs`{{bsy-alert}}`); assert.equal(this.$().text().trim(), ''); // Template block usage:" this.render(hbs` {{#bsy-alert}} template block text {{/bsy-alert}} `); assert.equal(this.$().text().trim(), 'template block text'); });
Version data entries
7 entries across 7 versions & 1 rubygems