mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-19 00:30:12 +01:00
6 lines
167 B
Ruby
6 lines
167 B
Ruby
|
|
Factory.define :user do |u|
|
||
|
|
u.sequence(:login) { |n| "testuser#{n}" }
|
||
|
|
u.password "secret"
|
||
|
|
u.password_confirmation { |user| user.password }
|
||
|
|
u.is_admin false
|
||
|
|
end
|