penchant/features/support/env.rb

14 lines
147 B
Ruby
Raw Normal View History

require 'fakefs/safe'
require 'penchant'
Before('@fakefs') do
FakeFS.activate!
end
After do
FakeFS.deactivate!
FileUtils.rm_rf 'tmp'
end