mirror of https://github.com/fspc/BikeShed-1.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
283 B
20 lines
283 B
12 years ago
|
FactoryGirl.define do
|
||
|
factory :user_role do
|
||
|
factory :role_staff do
|
||
|
role 'staff'
|
||
|
end
|
||
|
|
||
|
factory :role_admin do
|
||
|
role 'admin'
|
||
|
end
|
||
|
|
||
|
factory :role_bike_admin do
|
||
|
role 'bike_admin'
|
||
|
end
|
||
|
|
||
|
factory :role_user do
|
||
|
role 'user'
|
||
|
end
|
||
|
end
|
||
|
end
|