You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: job_token_scope_helpers.rb
    path of file: ./repos/gitlabhq/spec/support/helpers/ci
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

module Ci
  module JobTokenScopeHelpers
    def create
    
    def create_project_with_group_allowlist(target_project, accessible_project: nil)
      included_project = accessible_project || create(:project,
        ci_inbound_job_token_scope_enabled: true
      )
      create(
        :ci_job_token_group_scope_link,
        source_project: included_project,
        target_group: target_project.group
      )

      included_project
    end