diff options
Diffstat (limited to 'spec/support/shared_contexts/models/ci/job_token_scope.rb')
-rw-r--r-- | spec/support/shared_contexts/models/ci/job_token_scope.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/support/shared_contexts/models/ci/job_token_scope.rb b/spec/support/shared_contexts/models/ci/job_token_scope.rb index d0fee23b57c..a33a3e09c71 100644 --- a/spec/support/shared_contexts/models/ci/job_token_scope.rb +++ b/spec/support/shared_contexts/models/ci/job_token_scope.rb @@ -16,12 +16,14 @@ end RSpec.shared_context 'with inaccessible projects' do let_it_be(:inbound_allowlist_project) { create_project_in_allowlist(source_project, direction: :inbound) } + include_context 'with unscoped projects' end RSpec.shared_context 'with unscoped projects' do let_it_be(:unscoped_project1) { create(:project) } let_it_be(:unscoped_project2) { create(:project) } + let_it_be(:unscoped_public_project) { create(:project, :public) } let_it_be(:link_out_of_scope) { create(:ci_job_token_project_scope_link, target_project: unscoped_project1) } end |