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:
Diffstat (limited to 'spec/finders/ci/auth_job_finder_spec.rb')
-rw-r--r--spec/finders/ci/auth_job_finder_spec.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/spec/finders/ci/auth_job_finder_spec.rb b/spec/finders/ci/auth_job_finder_spec.rb
index 78827c9ddee..0a326699875 100644
--- a/spec/finders/ci/auth_job_finder_spec.rb
+++ b/spec/finders/ci/auth_job_finder_spec.rb
@@ -70,17 +70,6 @@ RSpec.describe Ci::AuthJobFinder do
expect(subject.user).to be_from_ci_job_token
expect(subject.user.ci_job_token_scope.source_project).to eq(job.project)
end
-
- context 'when feature flag ci_scoped_job_token is disabled' do
- before do
- stub_feature_flags(ci_scoped_job_token: false)
- end
-
- it 'does not set ci_job_token_scope on the job user' do
- expect(subject).to eq(job)
- expect(subject.user).not_to be_from_ci_job_token
- end
- end
end
end
end