aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuc Donnet2017-07-27 11:41:10 +0200
committerLuc Donnet2017-07-27 11:41:10 +0200
commit870f75c2411a8a46c15a0766713df9a3611f2eaf (patch)
treea9f03d2f314d55f08a1db0f9fd1d9b0b5d702d1e
parentb9a37522a9eb54b5d231861554057ae492d3a2ae (diff)
parentf5d8f0d34d0d27e91b4f69db724670c151cd0f37 (diff)
downloadchouette-core-870f75c2411a8a46c15a0766713df9a3611f2eaf.tar.bz2
Merge branch 'master' of github.com:AF83/stif-boiv
-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 49cc3cce8..9a2076f64 100644
--- a/spec/mailers/calendar_mailer_spec.rb
+++ b/spec/mailers/calendar_mailer_spec.rb
@@ -5,7 +5,7 @@ RSpec.describe CalendarMailer, type: :mailer do
shared_examples 'notify all user' do |type|
let!(:user) { create(:user) }
let(:calendar) { create(:calendar, shared: true) }
- let(:email) { CalendarMailer.send(type, calendar, user) }
+ let(:email) { CalendarMailer.send(type, calendar.id, user.id) }
it 'should deliver email to user' do
expect(email).to deliver_to user.email