FIX: Rubocop

This commit is contained in:
Robin Ward 2020-02-19 14:16:39 -05:00
parent 63ddf106a4
commit a41abfbfd6

View File

@ -274,7 +274,7 @@ RSpec.describe DiscourseChat::Provider::SlackProvider::SlackTranscript do
text = transcript.build_transcript text = transcript.build_transcript
# Rubocop doesn't like this, but we really do need trailing whitespace in the string # Rubocop doesn't like this, but we really do need trailing whitespace in the string
# rubocop:disable TrailingWhitespace # rubocop:disable Style/TrailingWhitespace
expected = <<~END expected = <<~END
[quote] [quote]
[**View in #general on Slack**](https://slack.com/archives/G1234/p1501093331439776) [**View in #general on Slack**](https://slack.com/archives/G1234/p1501093331439776)
@ -288,7 +288,7 @@ RSpec.describe DiscourseChat::Provider::SlackProvider::SlackTranscript do
[awesomeguy]: https://example.com/avatar [awesomeguy]: https://example.com/avatar
END END
# rubocop:enable TrailingWhitespace # rubocop:enable Style/TrailingWhitespace
expect(text).to eq(expected) expect(text).to eq(expected)
end end