Sha256: bc9331f99d80fe6dbcf0ec19df35889bd4242a7259f8daba233f6e5211afaef3
Contents?: true
Size: 372 Bytes
Versions: 15
Compression:
Stored size: 372 Bytes
Contents
# frozen_string_literal: true ::FactoryBot.define do sequence(:uuid) do |_n| ::SecureRandom.uuid end sequence(:email) do |n| "user#{n}@example.com" end sequence(:username) do |n| "username#{n}" end sequence(:token) do ::SecureRandom.hex(16) end sequence(:auth_token) do ::Base64.strict_encode64(::SecureRandom.hex(32)) end end
Version data entries
15 entries across 15 versions & 1 rubygems