penchant/features/support/env.rb

15 lines
174 B
Ruby
Raw Normal View History

require 'fakefs/safe'
require 'penchant'
Before('@fakefs') do
FakeFS.activate!
end
After do
2012-06-05 12:20:48 +00:00
FakeFS::FileSystem.clear
FakeFS.deactivate!
FileUtils.rm_rf 'tmp'
end