-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #375 from doubleunion/scholarship-email-improvement
Add user and text to scholarship email
- Loading branch information
Showing
3 changed files
with
5 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,9 @@ | |
%p | ||
Please go to the app and approve or deny this person's scholarship, then email them to let them know. Please also notify the membership coordinator ([email protected]) that the person is on the scholarship list, so they can make sure the person's scholarship status is reflected in the membership management system (such as setting them up with Google Drive and Calendar if they're a brand-new member). | ||
|
||
%p | ||
Scholarship requests should be responded to within two weeks. | ||
|
||
%p | ||
Yours Truly, | ||
%br/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,7 +190,7 @@ | |
|
||
it "sends an email" do | ||
expect { subject }.to change { ActionMailer::Base.deliveries.count }.by(1) | ||
expect(ActionMailer::Base.deliveries.last.to).to eq(["[email protected]"]) | ||
expect(ActionMailer::Base.deliveries.last.to).to eq(["[email protected]", member.email]) | ||
expect(ActionMailer::Base.deliveries.last.body).to include "Lemurs are pretty great" | ||
end | ||
end | ||
|