diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-16 13:44:50 +0100 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-12-16 13:44:50 +0100 |
commit | 40104746d6418b54cd80726d77c05e85cf2ddbb3 (patch) | |
tree | aaa9bd256a8fefc7fb9dfcbe123dc869550dfb71 /spec/features | |
parent | 5ffed49fef07a06f46f7e4e3511d7f6b9f378892 (diff) | |
parent | 907209821590efc34b11b60a042c6554bd11897f (diff) | |
download | gitlab-ce-40104746d6418b54cd80726d77c05e85cf2ddbb3.tar.gz |
Merge remote-tracking branch 'origin/feature/update-rubocop'
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/security/group_access_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/security/group_access_spec.rb b/spec/features/security/group_access_spec.rb index 4b78e3a61f0..65f8073c693 100644 --- a/spec/features/security/group_access_spec.rb +++ b/spec/features/security/group_access_spec.rb @@ -16,11 +16,11 @@ describe 'Group access', feature: true do end end - def group_member(access_level, group = group) + def group_member(access_level, grp = group()) level = Object.const_get("Gitlab::Access::#{access_level.upcase}") create(:user).tap do |user| - group.add_user(user, level) + grp.add_user(user, level) end end |