Clarify spec message

This commit is contained in:
Alberto Miedes Garcés
2017-01-27 13:47:09 +01:00
parent c52602e04b
commit cb06075c68

View File

@@ -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)