Fix line lenght above 140
This commit is contained in:
@@ -17,7 +17,8 @@ describe UsersHelper do
|
||||
|
||||
debate.hide
|
||||
|
||||
expect(comment_commentable_title(comment)).to eq '<del>' + comment.commentable.title + '</del> <span class="small">(This debate has been deleted)</span>'
|
||||
expect(comment_commentable_title(comment)).to eq('<del>' + comment.commentable.title +
|
||||
'</del> <span class="small">(This debate has been deleted)</span>')
|
||||
end
|
||||
|
||||
it "should return the appropriate message for deleted proposals" do
|
||||
@@ -26,7 +27,8 @@ describe UsersHelper do
|
||||
|
||||
proposal.hide
|
||||
|
||||
expect(comment_commentable_title(comment)).to eq '<del>' + comment.commentable.title + '</del> <span class="small">(This proposal has been deleted)</span>'
|
||||
expect(comment_commentable_title(comment)).to eq('<del>' + comment.commentable.title +
|
||||
'</del> <span class="small">(This proposal has been deleted)</span>')
|
||||
end
|
||||
|
||||
it "should return the appropriate message for deleted budget investment" do
|
||||
@@ -35,7 +37,8 @@ describe UsersHelper do
|
||||
|
||||
investment.hide
|
||||
|
||||
expect(comment_commentable_title(comment)).to eq '<del>' + comment.commentable.title + '</del> <span class="small">(This investment project has been deleted)</span>'
|
||||
expect(comment_commentable_title(comment)).to eq('<del>' + comment.commentable.title +
|
||||
'</del> <span class="small">(This investment project has been deleted)</span>')
|
||||
end
|
||||
end
|
||||
|
||||
@@ -48,7 +51,8 @@ describe UsersHelper do
|
||||
it "should return a hint if the commentable has been deleted" do
|
||||
comment = create(:comment)
|
||||
comment.commentable.hide
|
||||
expect(comment_commentable_title(comment)).to eq '<del>' + comment.commentable.title + '</del> <span class="small">(This debate has been deleted)</span>'
|
||||
expect(comment_commentable_title(comment)).to eq('<del>' + comment.commentable.title +
|
||||
'</del> <span class="small">(This debate has been deleted)</span>')
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user