Skip to content

Commit

Permalink
Merge pull request #14 from rennomarcus/bugfix/loading-comments
Browse files Browse the repository at this point in the history
Issue #10. Removed unecessary text
  • Loading branch information
Duncan Walker authored Aug 31, 2018
2 parents bd7b471 + e906cfc commit e47c621
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions addon/templates/components/disqus-comments.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
{{#if hasBlock}}
{{yield}}
{{else}}
Loading comments...
{{/if}}
5 changes: 2 additions & 3 deletions tests/integration/components/disqus-comments-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,10 @@ test('it renders', function(assert) {
// Handle any actions with this.on('myAction', function(val) { ... });

this.set('setup', () => {
true;
return true;
});

this.render(hbs`{{disqus-comments identifier='index' setup=setup}}`);

assert.equal(this.$().text().trim(), 'Loading comments...');

assert.equal(window.disqus_identifier, "index", "component loaded");
});

0 comments on commit e47c621

Please sign in to comment.