fix rubocop failures
This commit is contained in:
parent
f7b0692912
commit
1734124433
2 changed files with 4 additions and 2 deletions
|
@ -20,7 +20,10 @@ module Gitlab
|
|||
end
|
||||
|
||||
def filtered_html
|
||||
@filtered_html ||= (filter_replies!; document.inner_html)
|
||||
@filtered_html ||= begin
|
||||
filter_replies!
|
||||
document.inner_html
|
||||
end
|
||||
end
|
||||
|
||||
def filtered_text
|
||||
|
|
|
@ -209,7 +209,6 @@ describe Gitlab::Email::ReplyParser, lib: true do
|
|||
|
||||
it "properly renders html-only email from MS Outlook" do
|
||||
expect(test_parse_body(fixture_file("emails/outlook_html.eml"))).to eq("Microsoft Outlook 2010")
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue