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