scinote-web/spec/factories/tokens.rb

10 lines
157 B
Ruby
Raw Normal View History

2019-05-09 23:10:02 +08:00
# frozen_string_literal: true
FactoryBot.define do
factory :token do
2019-09-12 23:21:48 +08:00
token { Faker::Lorem.characters(number: 100) }
2019-05-09 23:10:02 +08:00
ttl { 60 }
user
end
end