X-Git-Url: https://nos-oignons.net/gitweb/gestion-adh.git/blobdiff_plain/6f0407b6532f52cb0726b2b7fe0070e1709dd5dc..cbf48881735099c25cfba57c486d53098f05beb5:/features/step_definitions/mailman.rb?ds=sidebyside 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']