TokiTranslate/spec/factories/users.rb

7 lines
152 B
Ruby
Raw Normal View History

2023-10-13 23:42:17 +00:00
FactoryBot.define do
factory :user do
sequence(:username) { |n| "test-#{n.to_s.rjust(3, "0")}@sample.com" }
password { "12345678" }
end
end