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

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

RSpec.shared_examples 'issue description templates from current project only' do
  it 'loads issue description templates from the project only' do
    within('#service-desk-template-select') do
      expect(page).to have_content('project-issue-bar')
      expect(page).to have_content('project-issue-foo')
      expect(page).not_to have_content('group-issue-bar')
      expect(page).not_to have_content('group-issue-foo')
    end
  end
end