1
0
mirror of https://github.com/fspc/BikeShed-1.git synced 2025-04-04 05:33:22 -04:00
Jason Denney 189137ba9d Almost usable, still a lot of work left
-Moved bikes to User model instead of profile
-User can copy user log to a bike log with new actsasloggable
-Added user stats
-some css was messing up checkboxes, need to figure out which stylesheet was doing that
2012-12-31 15:38:34 -05:00

23 lines
421 B
Ruby

FactoryGirl.define do
factory :user do
sequence(:email) { |n| "user_#{n}@example.com" }
password 'password'
password_confirmation { password }
first_name 'Michael'
last_name 'Scott'
user_role_id 1
sequence(:bike_id) { |n| n }
factory :staff do
first_name 'Staff'
user_role_id 2
end
factory :admin do
first_name 'Admin'
user_role_id 3
end
end
end