mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
parent
222b0a8a9b
commit
25fb8f1552
1 changed files with 11 additions and 0 deletions
11
spec/factories/admin_user.rb
Normal file
11
spec/factories/admin_user.rb
Normal file
|
@ -0,0 +1,11 @@
|
||||||
|
FactoryGirl.define do
|
||||||
|
factory :admin_user do
|
||||||
|
username 'test'
|
||||||
|
password 'test'
|
||||||
|
password_confirmation password
|
||||||
|
sequence(:email) { |n| "test#{n}@test.com" }
|
||||||
|
country_code 'ee'
|
||||||
|
roles ['admin']
|
||||||
|
identity_code ''
|
||||||
|
end
|
||||||
|
end
|
Loading…
Add table
Add a link
Reference in a new issue