Remove legacy DockerClient

This commit is contained in:
Sebastian Serth
2022-06-08 13:03:26 +02:00
parent b364918cb6
commit b613267add
10 changed files with 2 additions and 1077 deletions

View File

@ -182,7 +182,7 @@ describe Runner::Strategy::DockerContainerPool do
it 'returns the local part of the mount binding' do
local_path = 'tmp/container20'
allow(container).to receive(:binds).and_return(["#{local_path}:/workspace"])
allow(container).to receive(:json).and_return({HostConfig: {Binds: ["#{local_path}:/workspace"]}}.as_json)
expect(container_pool.send(:local_workspace_path)).to eq(Pathname.new(local_path))
end
end