Sha256: 77596295ac132287031c497d2f0bafd224c759ebcf26aaeca3920104555be094
Contents?: true
Size: 647 Bytes
Versions: 18
Compression:
Stored size: 647 Bytes
Contents
import { moduleForComponent, test } from 'ember-qunit'; import hbs from 'htmlbars-inline-precompile'; moduleForComponent('bsy-button', 'Integration | Component | bsy button', { 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-button}}`); assert.equal(this.$().text().trim(), ''); // Template block usage:" this.render(hbs` {{#bsy-button}} template block text {{/bsy-button}} `); assert.equal(this.$().text().trim(), 'template block text'); });
Version data entries
18 entries across 18 versions & 1 rubygems