Poseidon: Use absolute path to remove workspace directory
This commit is contained in:
@ -328,7 +328,7 @@ describe Runner::Strategy::Poseidon do
|
||||
WebMock
|
||||
.stub_request(:patch, "#{described_class.config[:url]}/runners/#{runner_id}/files")
|
||||
.with(
|
||||
body: {copy: [{path: file.filepath, content: encoded_file_content}], delete: ['./']},
|
||||
body: {copy: [{path: file.filepath, content: encoded_file_content}], delete: ['/workspace']},
|
||||
headers: {'Content-Type' => 'application/json'}
|
||||
)
|
||||
.to_return(body: response_body, status: response_status)
|
||||
|
Reference in New Issue
Block a user