mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 17:59:47 +02:00
Improve "admin_user" factory
This commit is contained in:
parent
b15e36ea08
commit
33a54a7bda
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
FactoryGirl.define do
|
FactoryGirl.define do
|
||||||
factory :admin_user do
|
factory :admin_user do
|
||||||
username 'test'
|
username 'test'
|
||||||
email 'test@test.com'
|
sequence(:email) { |n| "test#{n}@test.com" }
|
||||||
password 'a' * AdminUser.min_password_length
|
password 'a' * AdminUser.min_password_length
|
||||||
password_confirmation { password }
|
password_confirmation { password }
|
||||||
country_code 'de'
|
country_code 'de'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue