Conference Controller tests

This commit is contained in:
Chrisbr 2014-05-09 14:44:01 +02:00
parent adfa9cc871
commit c890aea68d
4 changed files with 258 additions and 0 deletions

16
spec/factories/role.rb Normal file
View file

@ -0,0 +1,16 @@
FactoryGirl.define do
factory :role do
factory :admin_role do
name 'Admin'
end
factory :organizer_role do
name 'Organizer'
end
factory :participant_role do
name 'Participant'
end
end
end