Skip to content

Commit eb75dec

Browse files
Kimberley CookKimberley Cook
authored andcommitted
update tests
1 parent bfc46a4 commit eb75dec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/views/member_mailer/welcome_student.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
We send out all invitations to our workshops and events via email.
1010
= link_to "Sign up on our subscriptions page", subscriptions_url
1111
to receive invitations to our workshops.
12-
Spaces are limited, so we encourage you to respond quickly if you’d like to attend.
12+
Spots are limited, so we encourage you to respond quickly if you’d like to attend.
1313

1414
%p
1515
If you’ve accepted an invitation but can no longer attend, please cancel your spot as soon as possible so we can offer it to someone else. If you’re on the waiting list, please keep the evening free and check your emails regularly. You’ll be notified at least three hours before the event if a spot becomes available.

spec/mailers/member_mailer_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
end
1515

1616
it 'renders the body' do
17-
expect(mail.body.encoded).to match('Places are limited')
17+
expect(mail.body.encoded).to match('Spots are limited')
1818
end
1919
end
2020

spec/mailers/workshop_invitation_mailer_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848

4949
expect(email.subject).to eq('A spot just became available')
5050
expect(email.from).to eq([workshop.chapter.email])
51-
expect(email.body.encoded).to match('A spot just opened up for the workshop')
51+
expect(email.body.encoded).to match('A spot just opened up for you at the workshop')
5252
end
5353

5454
it '#waitlist_reminder' do

0 commit comments

Comments
 (0)