Unify NotificationMailer methods’ signatures

This commit is contained in:
gregoirenovel 2018-05-30 23:55:34 +02:00
parent 7ea37abefa
commit a57e2388f6
4 changed files with 4 additions and 5 deletions

View file

@ -38,7 +38,7 @@ RSpec.describe NotificationMailer, type: :mailer do
end
describe '.send_dossier_received' do
subject { described_class.send_dossier_received(dossier.id) }
subject { described_class.send_dossier_received(dossier) }
let(:email_template) { create(:received_mail) }
before do