2019-07-25 05:24:42 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2017-03-30 10:39:02 +00:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2018-07-05 06:32:05 +00:00
|
|
|
describe 'Groups > Labels > User sees links to issuables' do
|
2017-03-30 10:39:02 +00:00
|
|
|
set(:group) { create(:group, :public) }
|
|
|
|
|
|
|
|
before do
|
|
|
|
create(:group_label, group: group, title: 'bug')
|
|
|
|
visit group_labels_path(group)
|
|
|
|
end
|
|
|
|
|
2018-07-05 06:32:05 +00:00
|
|
|
it 'shows links to MRs and issues' do
|
2017-03-30 10:39:02 +00:00
|
|
|
expect(page).to have_link('view merge requests')
|
|
|
|
expect(page).to have_link('view open issues')
|
|
|
|
end
|
|
|
|
end
|