mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
12 lines
229 B
Ruby
12 lines
229 B
Ruby
FactoryGirl.define do
|
|
factory :api_user do
|
|
sequence(:username) { |n| "test#{n}" }
|
|
password 'a' * 6
|
|
roles ['super']
|
|
registrar
|
|
|
|
factory :api_user_epp do
|
|
roles %w(epp static_registrant)
|
|
end
|
|
end
|
|
end
|