Skip to content

Commit

Permalink
Creating filer driver before tests run
Browse files Browse the repository at this point in the history
  • Loading branch information
bbeck-acorns committed Oct 31, 2016
1 parent d4eba4f commit 799eb2f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/hitnmiss/file_driver_spec.rb
Expand Up @@ -4,6 +4,10 @@
let(:folder) { File.expand_path("../../support/cache", __FILE__) }
subject { Hitnmiss::FileDriver.new(folder) }

before do
subject
end

after do
Dir["#{folder}/*"].each { |filename| File.unlink(filename) }
end
Expand Down

0 comments on commit 799eb2f

Please sign in to comment.