diff options
Diffstat (limited to 'spec/factories/users.rb')
-rw-r--r-- | spec/factories/users.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/factories/users.rb b/spec/factories/users.rb index 5f325717ec5..8764ac90af8 100644 --- a/spec/factories/users.rb +++ b/spec/factories/users.rb @@ -19,6 +19,10 @@ FactoryBot.define do public_email { email } end + trait :private_profile do + private_profile { true } + end + trait :blocked do after(:build) { |user, _| user.block! } end |