]> nos-oignons.net Git - gestion-adh.git/blobdiff - features/support/env.rb
Next step in pre-commit hook implementation
[gestion-adh.git] / features / support / env.rb
index 936dc538bf672bb66c104eabb70818979571ceea..e647e2f1cad74bbf1dfab03a69b55059e80162cd 100644 (file)
@@ -9,6 +9,8 @@ require 'safe_yaml'
 SafeYAML::OPTIONS[:default_mode] = :safe
 
 Before do
+  ENV['GIT_COMMITTER_NAME'] = ENV['GIT_AUTHOR_NAME'] = 'J. Test'
+  ENV['GIT_COMMITTER_EMAIL'] = ENV['GIT_AUTHOR_EMAIL'] = 'test@example.org'
   @tmpdir = Dir.mktmpdir('gestion-adh')
   @dirs = [@tmpdir]
 end