mirror of
https://github.com/internetee/registry.git
synced 2025-06-10 22:54:47 +02:00
Use inflector rule to acronym Api to API
This commit is contained in:
parent
42004f933f
commit
06f5eb10d4
25 changed files with 44 additions and 43 deletions
|
@ -1,7 +1,7 @@
|
|||
FactoryBot.define do
|
||||
factory :api_user do
|
||||
sequence(:username) { |n| "test#{n}" }
|
||||
password 'a' * ApiUser.min_password_length
|
||||
password 'a' * APIUser.min_password_length
|
||||
roles ['super']
|
||||
registrar
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue