diff --git a/spec/models/comment_spec.rb b/spec/models/comment_spec.rb index 993710c13..a86566734 100644 --- a/spec/models/comment_spec.rb +++ b/spec/models/comment_spec.rb @@ -175,7 +175,7 @@ describe Comment do expect(Comment.public_for_api).not_to include(comment) end - it 'does not return comments on budget investments' do + it 'does not return comments on elements which are not debates or proposals' do budget_investment = create(:budget_investment) comment = create(:comment, commentable: budget_investment)