Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-05 21:08:43 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-05 21:08:43 +0300
commite129eff88309eca18f3902afd710e2e07393fe45 (patch)
tree2dd9399fdcfdee719d51e63cd821adc58165ccb3 /spec/policies/namespace
parent205b6baf2677879c35968d2b659225b58e8a1227 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/policies/namespace')
-rw-r--r--spec/policies/namespace/root_storage_statistics_policy_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/policies/namespace/root_storage_statistics_policy_spec.rb b/spec/policies/namespace/root_storage_statistics_policy_spec.rb
index e6b58bca4a8..89875f83c9b 100644
--- a/spec/policies/namespace/root_storage_statistics_policy_spec.rb
+++ b/spec/policies/namespace/root_storage_statistics_policy_spec.rb
@@ -59,7 +59,7 @@ RSpec.describe Namespace::RootStorageStatisticsPolicy do
with_them do
before do
- group.add_user(user, user_type) unless user_type == :non_member
+ group.add_member(user, user_type) unless user_type == :non_member
end
it { is_expected.to eq(outcome) }