diff --git a/test/javascripts/widgets/post-links-test.js.es6 b/test/javascripts/widgets/post-links-test.js.es6 index 289f947e8..3efc3f2b0 100644 --- a/test/javascripts/widgets/post-links-test.js.es6 +++ b/test/javascripts/widgets/post-links-test.js.es6 @@ -8,8 +8,8 @@ widgetTest("duplicate links", { this.set('args', { id: 2, links: [ - { title: "Evil Trout Link", url: "http://eviltrout.com" }, - { title: "Evil Trout Link", url: "http://dupe.eviltrout.com" } + { title: "Evil Trout Link", url: "http://eviltrout.com", reflection: true }, + { title: "Evil Trout Link", url: "http://dupe.eviltrout.com", reflection: true } ] }); }, @@ -24,13 +24,13 @@ widgetTest("collapsed links", { this.set('args', { id: 1, links: [ - { title: "Link 1", url: "http://eviltrout.com?1" }, - { title: "Link 2", url: "http://eviltrout.com?2" }, - { title: "Link 3", url: "http://eviltrout.com?3" }, - { title: "Link 4", url: "http://eviltrout.com?4" }, - { title: "Link 5", url: "http://eviltrout.com?5" }, - { title: "Link 6", url: "http://eviltrout.com?6" }, - { title: "Link 7", url: "http://eviltrout.com?7" }, + { title: "Link 1", url: "http://eviltrout.com?1", reflection: true }, + { title: "Link 2", url: "http://eviltrout.com?2", reflection: true }, + { title: "Link 3", url: "http://eviltrout.com?3", reflection: true }, + { title: "Link 4", url: "http://eviltrout.com?4", reflection: true }, + { title: "Link 5", url: "http://eviltrout.com?5", reflection: true }, + { title: "Link 6", url: "http://eviltrout.com?6", reflection: true }, + { 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)); -// } -// });