summaryrefslogtreecommitdiff
path: root/spec/support/shared_contexts/read_ci_configuration_shared_context.rb
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