Fix temporal dependency in binary_spec

This commit is contained in:
Josh Hagins 2016-01-02 15:37:25 -05:00
parent a9d7e19b00
commit ff4ed36cc0
1 changed files with 3 additions and 0 deletions

View File

@ -11,6 +11,9 @@ describe Hbc::Artifact::Binary do
let(:expected_path) {
Hbc.binarydir.join('binary')
}
before(:each) {
Hbc.binarydir.mkpath
}
after(:each) {
if expected_path.exist?
FileUtils.rm expected_path