diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-12-16 17:38:36 +0300 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-12-20 14:21:49 +0300 |
commit | 178270a0f3689917e3764a128b8a281bb7feae76 (patch) | |
tree | 0c770121c42a6185022c672ad03c0a8c9038e592 /spec/features/group_variables_spec.rb | |
parent | f7ac8041f7ba3639085c26b4185eda00fd54a6e7 (diff) |
Check for group admin permissions
Diffstat (limited to 'spec/features/group_variables_spec.rb')
-rw-r--r-- | spec/features/group_variables_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/group_variables_spec.rb b/spec/features/group_variables_spec.rb index 89e0cdd8ed7..57e3ddfb39c 100644 --- a/spec/features/group_variables_spec.rb +++ b/spec/features/group_variables_spec.rb @@ -7,7 +7,7 @@ describe 'Group variables', :js do let(:page_path) { group_settings_ci_cd_path(group) } before do - group.add_maintainer(user) + group.add_owner(user) gitlab_sign_in(user) visit page_path |