about summary refs log tree commit diff
path: root/spec/mailers/notification_mailer_spec.rb
diff options
context:
space:
mode:
authorEugen <eugen@zeonfederated.com>2017-01-05 03:35:22 +0100
committerGitHub <noreply@github.com>2017-01-05 03:35:22 +0100
commit9bb1b97d2a31477ce3da83fb204dd5702323c1bb (patch)
tree126d4124eacc601f46c4bb50258a5fdf4539a082 /spec/mailers/notification_mailer_spec.rb
parent3b604d278602757350b769888dc3bf407887eff7 (diff)
parentbb033c1d37db11a871011ac8cdf6737721fbc13e (diff)
Merge pull request #394 from ticky/email-reblog-to-boost
"Reblog" -> "boost" in more places
Diffstat (limited to 'spec/mailers/notification_mailer_spec.rb')
-rw-r--r--spec/mailers/notification_mailer_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/mailers/notification_mailer_spec.rb b/spec/mailers/notification_mailer_spec.rb
index d4baca5aa..3beaebeb1 100644
--- a/spec/mailers/notification_mailer_spec.rb
+++ b/spec/mailers/notification_mailer_spec.rb
@@ -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