FIX: Rubocop

This commit is contained in:
Robin Ward 2020-02-19 14:16:39 -05:00
parent 63ddf106a4
commit a41abfbfd6
1 changed files with 2 additions and 2 deletions

View File

@ -274,7 +274,7 @@ RSpec.describe DiscourseChat::Provider::SlackProvider::SlackTranscript do
text = transcript.build_transcript
# Rubocop doesn't like this, but we really do need trailing whitespace in the string
# rubocop:disable TrailingWhitespace
# rubocop:disable Style/TrailingWhitespace
expected = <<~END
[quote]
[**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
END
# rubocop:enable TrailingWhitespace
# rubocop:enable Style/TrailingWhitespace
expect(text).to eq(expected)
end