diff options
author | Valery Sizov <valery@gitlab.com> | 2016-12-28 13:10:34 +0200 |
---|---|---|
committer | Valery Sizov <valery@gitlab.com> | 2016-12-28 15:34:12 +0200 |
commit | 684536321c9c847a8a39d0adc95e0c17be355c72 (patch) | |
tree | 781f8818f60ccc4288eea077ab88091afc89eb78 /spec/features | |
parent | b93c72e33a50aaed845fe333dee0201b0b11934e (diff) | |
download | gitlab-ce-684536321c9c847a8a39d0adc95e0c17be355c72.tar.gz |
Fix: Admin group show page does not workfix-admin-group-page
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/admin/admin_groups_spec.rb | 10 |
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) |