Commit 17341244 authored by http://jneen.net/'s avatar http://jneen.net/

fix rubocop failures

parent f7b06929
...@@ -20,7 +20,10 @@ module Gitlab ...@@ -20,7 +20,10 @@ module Gitlab
end end
def filtered_html def filtered_html
@filtered_html ||= (filter_replies!; document.inner_html) @filtered_html ||= begin
filter_replies!
document.inner_html
end
end end
def filtered_text def filtered_text
......
...@@ -209,7 +209,6 @@ describe Gitlab::Email::ReplyParser, lib: true do ...@@ -209,7 +209,6 @@ describe Gitlab::Email::ReplyParser, lib: true do
it "properly renders html-only email from MS Outlook" 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") expect(test_parse_body(fixture_file("emails/outlook_html.eml"))).to eq("Microsoft Outlook 2010")
end end
end end
end end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment