mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 01:32:42 +08:00
Upgrade to Ember 2.9
This commit is contained in:
@ -23,7 +23,7 @@ widgetTest('listing actions', {
|
||||
});
|
||||
|
||||
widgetTest('undo', {
|
||||
template: '{{mount-widget widget="actions-summary" args=args undoPostAction="undoPostAction"}}',
|
||||
template: '{{mount-widget widget="actions-summary" args=args undoPostAction=undoPostAction}}',
|
||||
setup() {
|
||||
this.set('args', {
|
||||
actionsSummary: [
|
||||
@ -31,7 +31,7 @@ widgetTest('undo', {
|
||||
]
|
||||
});
|
||||
|
||||
this.on('undoPostAction', () => this.undid = true);
|
||||
this.set('undoPostAction', () => this.undid = true);
|
||||
},
|
||||
test(assert) {
|
||||
assert.equal(this.$('.post-actions .post-action').length, 1);
|
||||
|
Reference in New Issue
Block a user