diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-08-29 17:31:59 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:10 +0900 |
commit | 2170eec662e05b24148dc1c959dbe5fe9723b4fb (patch) | |
tree | e63987f663310ffc9138fa15eee6c5513e2afc59 /spec/services | |
parent | 13b9b5f11a556b2841aabbf46516d1acab79aa0d (diff) | |
download | gitlab-ce-2170eec662e05b24148dc1c959dbe5fe9723b4fb.tar.gz |
Fix spec
Diffstat (limited to 'spec/services')
-rw-r--r-- | spec/services/ci/register_job_service_spec.rb | 4 |
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) } |