X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/6f0407b6532f52cb0726b2b7fe0070e1709dd5dc..HEAD:/features/step_definitions/receipts.rb diff --git a/features/step_definitions/receipts.rb b/features/step_definitions/receipts.rb index 6e9c300..9656bad 100644 --- a/features/step_definitions/receipts.rb +++ b/features/step_definitions/receipts.rb @@ -18,7 +18,7 @@ Then /^le fichier "(.*)" doit avoir été créé avec les reçus$/ do |filename| @receipt_path = "#{ENV['NOS_OIGNONS_RECEIPTS_DIR']}/#{filename}" - expect(File.exists?(@receipt_path)).to be_true + expect(File.exists?(@receipt_path)).to be_truthy end Then /^il doit contenir le nom et l'adresse de (\w+), la date et le montant de la cotisation$/ do |name|