summaryrefslogtreecommitdiff
path: root/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/groups/labels/user_sees_links_to_issuables_spec.rb')
-rw-r--r--spec/features/groups/labels/user_sees_links_to_issuables_spec.rb19
1 files changed, 19 insertions, 0 deletions
diff --git a/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb b/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb
new file mode 100644
index 00000000000..6199b566ebc
--- /dev/null
+++ b/spec/features/groups/labels/user_sees_links_to_issuables_spec.rb
@@ -0,0 +1,19 @@
+# frozen_string_literal: true
+
+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
+ page.within('.labels-container') do
+ expect(page).to have_link('Merge requests')
+ expect(page).to have_link('Issues')
+ end
+ end
+end