summaryrefslogtreecommitdiff
path: root/spec/features/groups/labels/user_sees_links_to_issuables.rb
blob: 1fdba78fa6ce68f099256bd8e66cb6a8ba36044e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
require 'spec_helper'

describe 'Groups > Labels > User sees links to issuables' do
  set(:group) { create(:group, :public) }

  before do
    create(:group_label, group: group, title: 'bug')
    visit group_labels_path(group)
  end

  it 'shows links to MRs and issues' do
    expect(page).to have_link('view merge requests')
    expect(page).to have_link('view open issues')
  end
end