Ghost/ghost/admin/tests/integration/components/gh-search-input-test.js
2016-04-19 10:55:10 -05:00

27 lines
597 B
JavaScript

/* jshint expr:true */
import { expect } from 'chai';
import {
describeComponent,
it
} from 'ember-mocha';
import hbs from 'htmlbars-inline-precompile';
import Ember from 'ember';
const {run} = Ember;
describeComponent(
'gh-search-input',
'Integration: Component: gh-search-input',
{
integration: true
},
function () {
it('renders', function () {
// renders the component on the page
this.render(hbs`{{gh-search-input}}`);
expect(this.$('.ember-power-select-search input')).to.have.length(1);
});
}
);