mirror of
https://github.com/internetee/registry.git
synced 2025-05-20 19:29:39 +02:00
parent
fd58024226
commit
596cb8f55d
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
FactoryGirl.define do
|
FactoryGirl.define do
|
||||||
factory :api_user do
|
factory :api_user do
|
||||||
sequence(:username) { |n| "test#{n}" }
|
sequence(:username) { |n| "test#{n}" }
|
||||||
password 'a' * 6
|
password 'a' * ApiUser.min_password_length
|
||||||
roles ['super']
|
roles ['super']
|
||||||
registrar
|
registrar
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue