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.
19 lines
278 B
19 lines
278 B
FactoryGirl.define do
|
|
factory :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
|
|
|