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

read_ci_configuration_shared_context.rb « shared_contexts « support « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: f8f33e2a745efe4879ec4cf5b878c012a2a9ec6d (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

RSpec.shared_context 'read ci configuration for sast enabled project' do
  let_it_be(:gitlab_ci_yml_content) do
    File.read(Rails.root.join('spec/support/gitlab_stubs/gitlab_ci_for_sast.yml'))
  end

  let_it_be(:project) { create(:project, :repository) }
end