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

feature '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

  scenario '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