]> nos-oignons.net Git - gestion-adh.git/blobdiff - features/step_definitions/receipts.rb
Update to Ruby 2+, RSpec 3 and recent Aruba
[gestion-adh.git] / features / step_definitions / receipts.rb
index 6e9c300ae0a12ee5b5667c5892d99354defee4b1..9656badf888a7f94decec54816a49c8f5085b9fa 100644 (file)
@@ -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|