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