token.rb 182 B

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