This commit is contained in:
Régis Hanol 2016-06-08 11:48:26 +02:00
parent ec7443b021
commit a1c875986a
1 changed files with 9 additions and 21 deletions

View File

@ -8,8 +8,8 @@ widgetTest("duplicate links", {
this.set('args', { this.set('args', {
id: 2, id: 2,
links: [ links: [
{ title: "Evil Trout Link", url: "http://eviltrout.com" }, { title: "Evil Trout Link", url: "http://eviltrout.com", reflection: true },
{ title: "Evil Trout Link", url: "http://dupe.eviltrout.com" } { title: "Evil Trout Link", url: "http://dupe.eviltrout.com", reflection: true }
] ]
}); });
}, },
@ -24,13 +24,13 @@ widgetTest("collapsed links", {
this.set('args', { this.set('args', {
id: 1, id: 1,
links: [ links: [
{ title: "Link 1", url: "http://eviltrout.com?1" }, { title: "Link 1", url: "http://eviltrout.com?1", reflection: true },
{ title: "Link 2", url: "http://eviltrout.com?2" }, { title: "Link 2", url: "http://eviltrout.com?2", reflection: true },
{ title: "Link 3", url: "http://eviltrout.com?3" }, { title: "Link 3", url: "http://eviltrout.com?3", reflection: true },
{ title: "Link 4", url: "http://eviltrout.com?4" }, { title: "Link 4", url: "http://eviltrout.com?4", reflection: true },
{ title: "Link 5", url: "http://eviltrout.com?5" }, { title: "Link 5", url: "http://eviltrout.com?5", reflection: true },
{ title: "Link 6", url: "http://eviltrout.com?6" }, { title: "Link 6", url: "http://eviltrout.com?6", reflection: true },
{ title: "Link 7", url: "http://eviltrout.com?7" }, { title: "Link 7", url: "http://eviltrout.com?7", reflection: true },
] ]
}); });
}, },
@ -42,15 +42,3 @@ widgetTest("collapsed links", {
}); });
} }
}); });
// widgetTest("reply as new topic", {
// template: '{{mount-widget widget="post-links" args=args newTopicAction="newTopicAction"}}',
// setup() {
// this.set('args', { canReplyAsNewTopic: true });
// this.on('newTopicAction', () => this.newTopicTriggered = true);
// },
// test(assert) {
// click('a.reply-new');
// andThen(() => assert.ok(this.newTopicTriggered));
// }
// });