aboutsummaryrefslogtreecommitdiffstats
path: root/spec/mailers
diff options
context:
space:
mode:
authorXinhui2017-07-10 13:41:03 +0200
committerXinhui2017-07-10 13:41:09 +0200
commit9559d8297d5d49145b866367c0e8c3d69e045adf (patch)
tree93989edf9ca99225f4a15dcf88f68fd3bed3953a /spec/mailers
parent2aa97e30b4971aa06ba4d5ae16d5ce66d2b10e9e (diff)
downloadchouette-core-9559d8297d5d49145b866367c0e8c3d69e045adf.tar.bz2
Templating CalendarMailer
Refs #2263
Diffstat (limited to 'spec/mailers')
-rw-r--r--spec/mailers/calendar_mailer_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/mailers/calendar_mailer_spec.rb b/spec/mailers/calendar_mailer_spec.rb
index d41092461..49cc3cce8 100644
--- a/spec/mailers/calendar_mailer_spec.rb
+++ b/spec/mailers/calendar_mailer_spec.rb
@@ -20,7 +20,7 @@ RSpec.describe CalendarMailer, type: :mailer do
end
it 'should have correct body' do
- key = I18n.t("mailers.calendar_mailer.#{type}.body")
+ key = I18n.t("mailers.calendar_mailer.#{type}.body", cal_name: calendar.name, cal_index_url: calendars_url)
expect(email).to have_body_text /#{key}/
end
end