mirror of
https://github.com/discourse/discourse-chat-integration.git
synced 2025-07-05 05:32:10 +00:00
FIX: Rubocop
This commit is contained in:
parent
63ddf106a4
commit
a41abfbfd6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user