Setup Faker and Factorybot
All checks were successful
CI / scan_ruby (push) Successful in 20s
CI / scan_js (push) Successful in 11s
CI / lint (push) Successful in 11s
CI / test (push) Successful in 33s

This commit is contained in:
sto
2025-03-27 09:27:25 +01:00
parent 12f9f33034
commit 7023600cd1
9 changed files with 58 additions and 12 deletions

7
spec/factories/users.rb Normal file
View File

@@ -0,0 +1,7 @@
FactoryBot.define do
factory :user do
username { Faker::Internet.username }
email_address { Faker::Internet.email }
password { Faker::Internet.password(min_length: 12, max_length: 18) }
end
end