From cb06075c682686bd1ef7a8e76c2db9ddb8cfcc81 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alberto=20Miedes=20Garc=C3=A9s?= Date: Fri, 27 Jan 2017 13:47:09 +0100 Subject: [PATCH] Clarify spec message --- spec/models/comment_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)