2018-03-17 18:26:18 +05:30
|
|
|
require 'spec_helper'
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
describe 'Groups > Labels > User sees links to issuables' do
|
2018-03-17 18:26:18 +05:30
|
|
|
set(:group) { create(:group, :public) }
|
|
|
|
|
|
|
|
before do
|
|
|
|
create(:group_label, group: group, title: 'bug')
|
|
|
|
visit group_labels_path(group)
|
|
|
|
end
|
|
|
|
|
2018-11-08 19:23:39 +05:30
|
|
|
it 'shows links to MRs and issues' do
|
2018-03-17 18:26:18 +05:30
|
|
|
expect(page).to have_link('view merge requests')
|
|
|
|
expect(page).to have_link('view open issues')
|
|
|
|
end
|
|
|
|
end
|