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:
Diffstat (limited to 'spec/factories/user_custom_attributes.rb')
-rw-r--r--spec/factories/user_custom_attributes.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/factories/user_custom_attributes.rb b/spec/factories/user_custom_attributes.rb
index 7bd5c06f4ef..c068da9a39f 100644
--- a/spec/factories/user_custom_attributes.rb
+++ b/spec/factories/user_custom_attributes.rb
@@ -5,5 +5,10 @@ FactoryBot.define do
user
sequence(:key) { |n| "key#{n}" }
sequence(:value) { |n| "value#{n}" }
+
+ trait :assumed_high_risk_reason do
+ key { UserCustomAttribute::ASSUMED_HIGH_RISK_REASON }
+ value { 'reason' }
+ end
end
end