was removed by c3ee937936
This commit is contained in:
parent
8cb8b9bf6a
commit
bd58f2865b
1 changed files with 0 additions and 18 deletions
|
@ -34,21 +34,3 @@ test('sends action `userInteraction` on focusOut', function(assert) {
|
||||||
|
|
||||||
this.$().trigger('focusout');
|
this.$().trigger('focusout');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
test('sends action `userInteraction` on input', function(assert) {
|
|
||||||
assert.expect(1);
|
|
||||||
|
|
||||||
var component = this.subject();
|
|
||||||
var targetObject = {
|
|
||||||
userInteraction: function() {
|
|
||||||
assert.ok(true, 'action got called');
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
// bind target object and action to component
|
|
||||||
component.set('targetObject', targetObject);
|
|
||||||
component.set('onUserInteraction', 'userInteraction');
|
|
||||||
|
|
||||||
this.$().trigger('input');
|
|
||||||
});
|
|
||||||
|
|
Loading…
Reference in a new issue