diff options
| author | cedricnjanga | 2018-01-31 09:00:34 -0800 | 
|---|---|---|
| committer | cedricnjanga | 2018-01-31 09:00:53 -0800 | 
| commit | f32ffd5b740583777634d0b58e3d50aa9d2414a3 (patch) | |
| tree | 59ed9c258af84d5fbb3d24cad5680ac5bd8ae5f1 /spec/mailers | |
| parent | 2ce236aea91bbe35a6b03353b4c5c7f33ded8eac (diff) | |
| download | chouette-core-f32ffd5b740583777634d0b58e3d50aa9d2414a3.tar.bz2 | |
Fix calendar mailer url
Diffstat (limited to 'spec/mailers')
| -rw-r--r-- | spec/mailers/calendar_mailer_spec.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/spec/mailers/calendar_mailer_spec.rb b/spec/mailers/calendar_mailer_spec.rb index 9a2076f64..00d73a58b 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", cal_name: calendar.name, cal_index_url: calendars_url) +      key = I18n.t("mailers.calendar_mailer.#{type}.body", cal_name: calendar.name, cal_index_url: workgroup_calendars_url(calendar.workgroup))        expect(email).to have_body_text /#{key}/      end    end | 
