diff options
author | Sophie Herold <sophie@hemio.de> | 2017-03-30 10:39:02 +0000 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-12-11 20:38:53 +0100 |
commit | 7ccd6a51a529452cdbd1d39121b067b773fcb170 (patch) | |
tree | 3fff27460dd22d90e011d73f0f1efa233cd6273d /spec/features/groups | |
parent | 39d6cc1f59a44b28275986b436ad561bf7bf8ee5 (diff) | |
download | gitlab-ce-7ccd6a51a529452cdbd1d39121b067b773fcb170.tar.gz |
Hide issues and MRs in labels list if disabledsophie-h/gitlab-ce-patch-15
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/features/groups')
-rw-r--r-- | spec/features/groups/labels/user_sees_links_to_issuables.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/spec/features/groups/labels/user_sees_links_to_issuables.rb b/spec/features/groups/labels/user_sees_links_to_issuables.rb new file mode 100644 index 00000000000..5d6290d2109 --- /dev/null +++ b/spec/features/groups/labels/user_sees_links_to_issuables.rb @@ -0,0 +1,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 |