Skip to content
This repository was archived by the owner on Dec 3, 2019. It is now read-only.

Commit 46c4c90

Browse files
Merge pull request #424 from BRIMIL01/fix_mailer_test
Fixed the mailer test
2 parents a17ee73 + eea87d5 commit 46c4c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/mailers/user_mailer_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ class UserMailerTest < ActiveSupport::TestCase
1414
new_user = create(:user)
1515
leader = create(:user)
1616
expected = <<~EMAIL_BODY
17-
#{new_user.name}, has joined. They're located within 50 miles of your chapter!
17+
#{CGI.escapeHTML(new_user.name)}, has joined. They're located within 50 miles of your chapter!
1818
Please email them at #{new_user.email} and welcome them, and consider providing info on the next local meetup.
1919
Let's encourage in-person involvement within Operation Code!
2020
EMAIL_BODY

0 commit comments

Comments
 (0)