X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/9abd734720ddad01338b0556ed6210bac5c5b145..662dfe6fd2d9b0beeb9fb04570c3f301c8f57d90:/features/step_definitions/commands.rb diff --git a/features/step_definitions/commands.rb b/features/step_definitions/commands.rb index 26886e6..cde2215 100644 --- a/features/step_definitions/commands.rb +++ b/features/step_definitions/commands.rb @@ -21,6 +21,18 @@ When /^j'exécute update-ag-subscribers$/ do run_simple 'update-ag-subscribers' end +When /^(?:que )?j'exécute send-membership-reminders$/ do + NosOignons.send_membership_reminders! +end + +When /^j'exécute send\-member\-emails\-to\-advisors$/ do + NosOignons.send_member_emails_to_advisors! +end + +When /^j'exécute `(create\-membership\-fee\-receipt.*)`$/ do |cmd| + run_simple cmd, false +end + Then /^je ne dois pas avoir eu d'erreur$/ do assert_exit_status(0) end