Change the nouns "toot" and "status" to "post" (#16080)
This commit is contained in:
parent
8323023464
commit
9cc283f0b4
3 changed files with 81 additions and 81 deletions
|
@ -59,12 +59,12 @@ RSpec.describe NotificationMailer, type: :mailer do
|
|||
include_examples 'localized subject', 'notification_mailer.favourite.subject', name: 'bob'
|
||||
|
||||
it "renders the headers" do
|
||||
expect(mail.subject).to eq("bob favourited your status")
|
||||
expect(mail.subject).to eq("bob favourited your post")
|
||||
expect(mail.to).to eq([receiver.email])
|
||||
end
|
||||
|
||||
it "renders the body" do
|
||||
expect(mail.body.encoded).to match("Your status was favourited by bob")
|
||||
expect(mail.body.encoded).to match("Your post was favourited by bob")
|
||||
expect(mail.body.encoded).to include 'The body of the own status'
|
||||
end
|
||||
end
|
||||
|
@ -76,12 +76,12 @@ RSpec.describe NotificationMailer, type: :mailer do
|
|||
include_examples 'localized subject', 'notification_mailer.reblog.subject', name: 'bob'
|
||||
|
||||
it "renders the headers" do
|
||||
expect(mail.subject).to eq("bob boosted your status")
|
||||
expect(mail.subject).to eq("bob boosted your post")
|
||||
expect(mail.to).to eq([receiver.email])
|
||||
end
|
||||
|
||||
it "renders the body" do
|
||||
expect(mail.body.encoded).to match("Your status was boosted by bob")
|
||||
expect(mail.body.encoded).to match("Your post was boosted by bob")
|
||||
expect(mail.body.encoded).to include 'The body of the own status'
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue