added 260907 version of worker toolkit
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import { moduleForComponent, test } from 'ember-qunit';
|
||||
import hbs from 'htmlbars-inline-precompile';
|
||||
|
||||
moduleForComponent('at-js-autocomplete', 'Integration | Component | at js autocomplete', {
|
||||
integration: true
|
||||
});
|
||||
|
||||
test('it renders', function(assert) {
|
||||
|
||||
this.set('ajax', {
|
||||
session: {
|
||||
data: {
|
||||
authenticated: {
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
request() {
|
||||
return {
|
||||
then() {
|
||||
},
|
||||
};
|
||||
},
|
||||
});
|
||||
|
||||
// Handle any actions with this.on('myAction', function(val) { ... });
|
||||
|
||||
this.render(hbs`{{at-js-autocomplete ajax=ajax}}`);
|
||||
|
||||
assert.equal(this.$().text().trim(), '');
|
||||
});
|
||||
Reference in New Issue
Block a user