import { test } from 'ember-qunit';
import moduleForComponent from 'web-client/tests/helpers/module-for-component';
import hbs from 'htmlbars-inline-precompile';

moduleForComponent('filter-bar', 'Integration | Component | filter bar', {
  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`{{filter-bar}}`);
  assert.equal($('.filter-bar').length, 1);
  assert.equal(this.$().text().trim().split(' ')[0].trim(), 'Language');
});
