mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-03 03:55:26 +03:00
eb2e369326
refs #6458
27 lines
597 B
JavaScript
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);
|
|
});
|
|
}
|
|
);
|