mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
12 lines
291 B
Ruby
12 lines
291 B
Ruby
# default fabricator should be reusable
|
|
Fabricator(:api_user) do
|
|
username { sequence(:username) { |i| "username#{i}" } }
|
|
password 'ghyt9e4fu'
|
|
registrar
|
|
active true
|
|
end
|
|
|
|
# use dedicated fabricator for fixed one
|
|
Fabricator(:gitlab_api_user, from: :api_user) do
|
|
username 'gitlab'
|
|
end
|