You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cartodb/spec/factories/user_multifactor_auths.rb

14 lines
250 B

FactoryBot.define do
factory :totp, class: 'Carto::UserMultifactorAuth' do
type { Carto::UserMultifactorAuth::TYPE_TOTP }
trait :needs_setup do
enabled { false }
end
trait :active do
enabled { true }
end
end
end