Skip to content

Commit 32e30e7

Browse files
committed
Fixes broken test introduced by soulim#61
1 parent 64a589b commit 32e30e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit/components/bootstrap-datepicker-test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ test('resets date when input is cleared', function(assert) {
5050
assert.ok(this.$().datepicker('getDate'), 'initial value is set');
5151

5252
this.$().val('');
53-
this.$().trigger('input');
53+
this.$().datepicker('update');
5454

5555
assert.equal(this.$().datepicker('getDate'), null, 'value is reset when input is cleared');
5656
});

0 commit comments

Comments
 (0)