diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-01-24 18:09:52 +0300 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-01-24 18:09:52 +0300 |
commit | 61c51d3b6edd44750cb77a87406d2ff7c79a5053 (patch) | |
tree | 51cbe54f7817cc4b61650c497c93adf6be8e65f3 /spec/policies | |
parent | 71d3bc6349c92ee63696dd1bd78eb2583e8dd588 (diff) | |
parent | 3a2abc1d50b419a353edb7f7cf68f3894dfdeeef (diff) |
Merge branch '56392-enable-the-layout-extraspacing-cop' into 'master'
Enable the Layout/ExtraSpacing cop
Closes #56392
See merge request gitlab-org/gitlab-ce!24423
Diffstat (limited to 'spec/policies')
-rw-r--r-- | spec/policies/project_policy_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/policies/project_policy_spec.rb b/spec/policies/project_policy_spec.rb index 2a4030de998..7705704a07f 100644 --- a/spec/policies/project_policy_spec.rb +++ b/spec/policies/project_policy_spec.rb @@ -69,7 +69,7 @@ describe ProjectPolicy do end # Used in EE specs - let(:additional_guest_permissions) { [] } + let(:additional_guest_permissions) { [] } let(:additional_reporter_permissions) { [] } let(:additional_maintainer_permissions) { [] } @@ -236,7 +236,7 @@ describe ProjectPolicy do let(:group) { create(:group, :public) } let(:project) { create(:project, :public, namespace: group) } let(:user_permissions) { [:create_merge_request_in, :create_project, :create_issue, :create_note, :upload_file, :award_emoji] } - let(:anonymous_permissions) { guest_permissions - user_permissions } + let(:anonymous_permissions) { guest_permissions - user_permissions } subject { described_class.new(nil, project) } |