token.rb 180 B

123456789
  1. FactoryBot.define do
  2. factory :token do
  3. user_id { FactoryBot.create(:user).id }
  4. end
  5. factory :token_password_reset, parent: :token do
  6. action 'PasswordReset'
  7. end
  8. end