summaryrefslogtreecommitdiff
path: root/qa/spec/service/docker_run/gitlab_runner_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/spec/service/docker_run/gitlab_runner_spec.rb')
-rw-r--r--qa/spec/service/docker_run/gitlab_runner_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/spec/service/docker_run/gitlab_runner_spec.rb b/qa/spec/service/docker_run/gitlab_runner_spec.rb
index 34d95943321..a8838db10cf 100644
--- a/qa/spec/service/docker_run/gitlab_runner_spec.rb
+++ b/qa/spec/service/docker_run/gitlab_runner_spec.rb
@@ -130,7 +130,7 @@ module QA
end
it 'mounts the docker socket to the host runner' do
- expect(subject).to have_received(:shell).with(/-v \/var\/run\/docker.sock:\/var\/run\/docker.sock /)
+ expect(subject).to have_received(:shell).with(%r{-v /var/run/docker.sock:/var/run/docker.sock })
end
it 'runs in privileged mode' do