]> nos-oignons.net Git - gestion-adh.git/blobdiff - features/step_definitions/mailman.rb
Update mail >= 2.8 to get compatibility with Ruby 3.1
[gestion-adh.git] / features / step_definitions / mailman.rb
index 4d375c4fbe26220fce537992c7ebb3a00024d83a..e201bab96bc9591f8a6f306db9a242846387702a 100644 (file)
@@ -19,7 +19,7 @@
 require 'json'
 
 Before('@mailman') do
-  @mock_mailman_db = "#{current_dir}/mock_mailman.json"
+  @mock_mailman_db = expand_path('mock_mailman.json')
   init_mailman_mock_db({})
   ENV['MOCK_MAILMAN_DB'] = @mock_mailman_db
   @orig_path = ENV['PATH']