[Spec] Use strings for image names

This commit is contained in:
Sebastian Serth
2021-10-25 17:30:39 +02:00
parent 28c74bc9a5
commit 953643f05e

View File

@ -111,7 +111,7 @@ describe ExecutionEnvironmentsController do
describe '#set_docker_images' do
context 'when Docker is available' do
let(:docker_images) { [1, 2, 3] }
let(:docker_images) { %w[image:one image:two image:three] }
before do
allow(Runner).to receive(:strategy_class).and_return Runner::Strategy::DockerContainerPool