summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorSean McGivern <sean@mcgivern.me.uk>2016-12-28 14:46:57 +0000
committerSean McGivern <sean@mcgivern.me.uk>2016-12-28 14:46:57 +0000
commitce3cf6985cda53d618cdb5b7a86b625a72b4f8d6 (patch)
tree7949b59040343dbbec1264f0df9e834ee2ebef22 /spec
parentcbee5f00fdc045eae3be2d7598e251ef4545df2f (diff)
parent684536321c9c847a8a39d0adc95e0c17be355c72 (diff)
downloadgitlab-ce-ce3cf6985cda53d618cdb5b7a86b625a72b4f8d6.tar.gz
Merge branch 'fix-admin-group-page' into 'master'
Fix: Admin group show page does not work Closes #26147 See merge request !8339
Diffstat (limited to 'spec')
-rw-r--r--spec/features/admin/admin_groups_spec.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/features/admin/admin_groups_spec.rb b/spec/features/admin/admin_groups_spec.rb
index 0aa01fc499a..9c19db6b420 100644
--- a/spec/features/admin/admin_groups_spec.rb
+++ b/spec/features/admin/admin_groups_spec.rb
@@ -17,6 +17,16 @@ feature 'Admin Groups', feature: true do
end
end
+ describe 'show a group' do
+ scenario 'shows the group' do
+ group = create(:group, :private)
+
+ visit admin_group_path(group)
+
+ expect(page).to have_content("Group: #{group.name}")
+ end
+ end
+
describe 'group edit' do
scenario 'shows the visibility level radio populated with the group visibility_level value' do
group = create(:group, :private)