X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/6f0407b6532f52cb0726b2b7fe0070e1709dd5dc..ccfce3c705fd36559cf1a01fac33639aab0254a7:/features/step_definitions/mailman.rb diff --git a/features/step_definitions/mailman.rb b/features/step_definitions/mailman.rb index 4d375c4..e201bab 100644 --- a/features/step_definitions/mailman.rb +++ b/features/step_definitions/mailman.rb @@ -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']