mirror of
https://github.com/internetee/registry.git
synced 2025-05-18 02:09:39 +02:00
10 lines
233 B
Ruby
10 lines
233 B
Ruby
FactoryGirl.define do
|
|
factory :admin_user do
|
|
username 'test'
|
|
email 'test@test.com'
|
|
password 'a' * AdminUser.min_password_length
|
|
password_confirmation { password }
|
|
country_code 'de'
|
|
roles ['admin']
|
|
end
|
|
end
|