mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-18 16:20:12 +01:00
inspired by the railscasts about cucumber. Also fix a problem with ZenTest on case sensitive platforms
6 lines
No EOL
167 B
Ruby
6 lines
No EOL
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 |