Move workspace path to subdir of /tmp to prevent deleting other files

This commit is contained in:
Sebastian Serth
2018-02-20 15:31:19 +01:00
parent 3916f66695
commit 2a38db6e75

View File

@ -7,7 +7,7 @@ describe DockerClient, docker: true do
let(:execution_environment) { FactoryBot.build(:java) } let(:execution_environment) { FactoryBot.build(:java) }
let(:image) { double } let(:image) { double }
let(:submission) { FactoryBot.create(:submission) } let(:submission) { FactoryBot.create(:submission) }
let(:workspace_path) { '/tmp' } let(:workspace_path) { '/tmp/code_ocean_test' }
describe '.check_availability!' do describe '.check_availability!' do
context 'when a socket error occurs' do context 'when a socket error occurs' do