Always create workspace path dir for DockerClient specs

This commit is contained in:
Sebastian Serth
2018-02-22 09:42:54 +01:00
parent d5e16c967d
commit 1f56f8fb78

View File

@ -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