diff options
author | Sophie Herold <sophie@hemio.de> | 2017-03-30 13:39:02 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-12-11 22:38:53 +0300 |
commit | 7ccd6a51a529452cdbd1d39121b067b773fcb170 (patch) | |
tree | 3fff27460dd22d90e011d73f0f1efa233cd6273d /spec/features/groups | |
parent | 39d6cc1f59a44b28275986b436ad561bf7bf8ee5 (diff) |
Hide issues and MRs in labels list if disabled
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 |