fix: Add fixes for sentry errors (#3522)

- Add fixes for sentry errors
This commit is contained in:
Pranav Raj S
2021-12-08 22:20:28 -08:00
committed by GitHub
parent 2be71e73dc
commit 2f63ebb8a6
11 changed files with 124 additions and 110 deletions

View File

@@ -8,4 +8,12 @@ describe MessageFormatHelper, type: :helper do
end
end
end
describe '#render_message_content' do
context 'when render_message_content called' do
it 'render text correctly' do
expect(helper.render_message_content('Hi *there*, I am mostly text!')).to eq "<p>Hi <em>there</em>, I am mostly text!</p>\n"
end
end
end
end