tracks/spec/factories.rb
Reinier Balt 2073f84cd8 update cucumber and refactor some of the stories
inspired by the railscasts about cucumber. Also fix a problem with ZenTest on case sensitive platforms
2009-05-22 23:14:40 +02:00

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