Always create workspace path dir for DockerClient specs
This commit is contained in:
@ -11,6 +11,10 @@ describe DockerClient, docker: true do
|
|||||||
let(:submission) { FactoryBot.create(:submission) }
|
let(:submission) { FactoryBot.create(:submission) }
|
||||||
let(:workspace_path) { WORKSPACE_PATH }
|
let(:workspace_path) { WORKSPACE_PATH }
|
||||||
|
|
||||||
|
before(:all) do
|
||||||
|
FileUtils.mkdir_p(WORKSPACE_PATH)
|
||||||
|
end
|
||||||
|
|
||||||
after(:all) do
|
after(:all) do
|
||||||
FileUtils.rm_rf(WORKSPACE_PATH)
|
FileUtils.rm_rf(WORKSPACE_PATH)
|
||||||
end
|
end
|
||||||
|
Reference in New Issue
Block a user