X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/4a99ae87e0f7fdd07d8820a724fbed1d8b2b5f36..56d63dc536c09e07e7de107a76500ecc92cf7cb7:/features/update-ag-subscribers.feature diff --git a/features/update-ag-subscribers.feature b/features/update-ag-subscribers.feature index 0ca89aa..86f74c1 100644 --- a/features/update-ag-subscribers.feature +++ b/features/update-ag-subscribers.feature @@ -17,12 +17,7 @@ Fonctionnalité: mettre à jour les emails inscrites à la liste ag@ Et avec Jane, à jour de cotisation Et avec Fatima, à jour de cotisation Lorsque j'exécute update-ag-subscribers - Alors la liste ag@ doit avoir comme emails inscrits: - """ - pierre@example.org - jane@example.org - fatima@example.org - """ + Alors la liste ag@ ne doit pas avoir reçu d’inscription Scénario: Nouvelle adhésion Soit une liste ag@ avec comme emails inscrits: @@ -36,13 +31,7 @@ Fonctionnalité: mettre à jour les emails inscrites à la liste ag@ Et avec Fatima, à jour de cotisation Et une nouvelle adhésion de Sean Lorsque j'exécute update-ag-subscribers - Alors la liste ag@ doit avoir comme emails inscrits: - """ - pierre@example.org - jane@example.org - fatima@example.org - sean@example.org - """ + Alors la liste ag@ doit avoir reçu l’inscription de "sean@example.org" Scénario: Non renouvellement de la cotisation Soit une liste ag@ avec comme emails inscrits: @@ -54,10 +43,18 @@ Fonctionnalité: mettre à jour les emails inscrites à la liste ag@ Et une base avec Pierre, à jour de cotisation Et avec Jane qui n'a pas payé sa cotisation cette année Et avec Fatima, à jour de cotisation - Et une nouvelle adhésion de Sean Lorsque j'exécute update-ag-subscribers - Alors la liste ag@ doit avoir comme emails inscrits: + Alors la liste ag@ doit avoir reçu la désinscription de "jane@example.org" + + Scénario: Un ajout et une suppression + Soit une liste ag@ avec comme emails inscrits: """ pierre@example.org - fatima@example.org + jane@example.org """ + Et une base avec Pierre, à jour de cotisation + Et avec Jane qui n'a pas payé sa cotisation cette année + Et une nouvelle adhésion de Sean + Lorsque j'exécute update-ag-subscribers + Alors la liste ag@ doit avoir reçu l’inscription de "sean@example.org" + Et la liste ag@ doit avoir reçu la désinscription de "jane@example.org"