diff options
author | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-07-11 05:24:01 +0300 |
---|---|---|
committer | Benjamin Neff <benjamin@coding4coffee.ch> | 2022-07-16 05:22:51 +0300 |
commit | a9ae84f3a6b269247c68c172548b186bb643bf60 (patch) | |
tree | 086d0a3196f01eb1fb5ea50ffd6fe7d5737dc91b /spec | |
parent | 6cea355636b7fd8a4d1570807f77762eaccb23e0 (diff) |
Remove markerb dependency
markerb is dead and isn't compatible with rails 6 anymore. Removing it
means adding separate templates for text and html, this sadly means some
code duplication, but also luckily the templates aren't that
complicated, so the duplication is also very minimal.
Diffstat (limited to 'spec')
-rw-r--r-- | spec/workers/reset_password_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/reset_password_spec.rb b/spec/workers/reset_password_spec.rb index 6d1b7ca72..59c5cca79 100644 --- a/spec/workers/reset_password_spec.rb +++ b/spec/workers/reset_password_spec.rb @@ -12,8 +12,8 @@ describe Workers::ResetPassword do Workers::ResetPassword.new.perform(alice.id) mail = Devise.mailer.deliveries.last expect(mail.to).to eq([alice.email]) - expect(mail.body).to include("change your password") - expect(mail.body).to include(alice.username) + expect(mail.body.encoded).to include("change your password") + expect(mail.body.encoded).to include(alice.username) end end end |