]> nos-oignons.net Git - gestion-adh.git/blob - features/support/env.rb
936dc538bf672bb66c104eabb70818979571ceea
[gestion-adh.git] / features / support / env.rb
1 require 'rubygems'
2 require 'bundler'
3 Bundler.setup
4
5 require 'tmpdir'
6 require 'aruba/cucumber'
7 require 'safe_yaml'
8
9 SafeYAML::OPTIONS[:default_mode] = :safe
10
11 Before do
12   @tmpdir = Dir.mktmpdir('gestion-adh')
13   @dirs = [@tmpdir]
14 end
15
16 After do
17   FileUtils.remove_entry_secure @tmpdir
18 end