From 4189a2790d1b9388b1f66eee1ea1b01af71e9d37 Mon Sep 17 00:00:00 2001 From: simon lehericey Date: Fri, 23 Feb 2018 13:44:34 +0100 Subject: [PATCH] MailPreview: fix last_week_overview --- spec/mailers/previews/gestionnaire_mailer_preview.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/mailers/previews/gestionnaire_mailer_preview.rb b/spec/mailers/previews/gestionnaire_mailer_preview.rb index 4fcf80f11..d38ca04e2 100644 --- a/spec/mailers/previews/gestionnaire_mailer_preview.rb +++ b/spec/mailers/previews/gestionnaire_mailer_preview.rb @@ -1,7 +1,7 @@ class GestionnaireMailerPreview < ActionMailer::Preview def last_week_overview gestionnaire = Gestionnaire.first - GestionnaireMailer.last_week_overview(gestionnaire, gestionnaire.last_week_overview) + GestionnaireMailer.last_week_overview(gestionnaire) end def send_dossier