scinote-web/spec/factories/wopi_discoveries.rb

12 lines
350 B
Ruby
Raw Normal View History

2019-05-09 23:10:02 +08:00
# frozen_string_literal: true
FactoryBot.define do
factory :wopi_discovery do
2019-09-12 23:21:48 +08:00
proof_key_mod { Faker::Lorem.characters(number: 20) }
proof_key_exp { Faker::Lorem.characters(number: 20) }
proof_key_old_mod { Faker::Lorem.characters(number: 20) }
proof_key_old_exp { Faker::Lorem.characters(number: 20) }
2019-05-09 23:10:02 +08:00
expires { 60 }
end
end