debian-mirror-gitlab/spec/factories/u2f_registrations.rb

13 lines
282 B
Ruby
Raw Normal View History

2019-10-12 21:52:04 +05:30
# frozen_string_literal: true
2018-03-17 18:26:18 +05:30
FactoryBot.define do
factory :u2f_registration do
2021-03-11 19:13:27 +05:30
user
certificate { FFaker::BaconIpsum.characters(728) }
key_handle { FFaker::BaconIpsum.characters(86) }
public_key { FFaker::BaconIpsum.characters(88) }
2019-12-21 20:55:43 +05:30
counter { 0 }
end
end