X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/9d982cb5d7f9abe598c8df3eefabe10501056110..bece9e3f7c399934e613f3701e624f1e14c98455:/features/step_definitions/commands.rb?ds=sidebyside diff --git a/features/step_definitions/commands.rb b/features/step_definitions/commands.rb index 221523a..cde2215 100644 --- a/features/step_definitions/commands.rb +++ b/features/step_definitions/commands.rb @@ -25,6 +25,14 @@ 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