Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-08-29 11:31:59 +0300
committerShinya Maeda <shinya@gitlab.com>2017-09-03 17:49:10 +0300
commit2170eec662e05b24148dc1c959dbe5fe9723b4fb (patch)
treee63987f663310ffc9138fa15eee6c5513e2afc59 /spec/services
parent13b9b5f11a556b2841aabbf46516d1acab79aa0d (diff)
Fix spec
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/ci/register_job_service_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/services/ci/register_job_service_spec.rb b/spec/services/ci/register_job_service_spec.rb
index eb3e7e749ef..e9bcb41c5f5 100644
--- a/spec/services/ci/register_job_service_spec.rb
+++ b/spec/services/ci/register_job_service_spec.rb
@@ -233,8 +233,8 @@ module Ci
end
end
- context 'when a runner is protected' do
- let!(:specific_runner) { create(:ci_runner, :protected, :specific) }
+ context 'when a runner is ref_protected' do
+ let!(:specific_runner) { create(:ci_runner, :ref_protected, :specific) }
context 'when a job is protected' do
let!(:pending_build) { create(:ci_build, :protected, pipeline: pipeline) }