diff options
Diffstat (limited to 'spec/factories/abuse/trust_score.rb')
-rw-r--r-- | spec/factories/abuse/trust_score.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/spec/factories/abuse/trust_score.rb b/spec/factories/abuse/trust_score.rb new file mode 100644 index 00000000000..a5ea7666945 --- /dev/null +++ b/spec/factories/abuse/trust_score.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +FactoryBot.define do + factory :abuse_trust_score, class: 'Abuse::TrustScore' do + user + score { 0.1 } + source { :spamcheck } + correlation_id_value { 'abcdefg' } + end +end |