0
0
Fork 0

"Reblog" -> "boost" in more places

A couple of places were using "reblog" rather than "boost" - this updates them to match the web UI
This commit is contained in:
Jessica Stokes 2017-01-04 18:00:50 -08:00
parent db21724a5a
commit bb033c1d37
No known key found for this signature in database
GPG key ID: E3DE5BE038F70FE9
3 changed files with 5 additions and 5 deletions

View file

@ -53,12 +53,12 @@ RSpec.describe NotificationMailer, type: :mailer do
let(:mail) { NotificationMailer.reblog(own_status.account, Notification.create!(account: receiver.account, activity: reblog)) }
it "renders the headers" do
expect(mail.subject).to eq("bob reblogged your status")
expect(mail.subject).to eq("bob boosted your status")
expect(mail.to).to eq([receiver.email])
end
it "renders the body" do
expect(mail.body.encoded).to match("Your status was reblogged by bob")
expect(mail.body.encoded).to match("Your status was boosted by bob")
end
end