debian-mirror-gitlab/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb
2020-06-23 00:09:42 +05:30

20 lines
467 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe 'Groups > Labels > User sees links to issuables' do
let_it_be(: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
page.within('.labels-container') do
expect(page).to have_link('Merge requests')
expect(page).to have_link('Issues')
end
end
end