[test] Add unit test for conference_helper#conference_color
This commit is contained in:
parent
72dd36993b
commit
2bcd7d39b3
2 changed files with 12 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ FactoryBot.define do
|
|||
ticket_layout { 'portrait' }
|
||||
description { Faker::Hipster.paragraph }
|
||||
organization
|
||||
color { '#FFFFFF' }
|
||||
after(:create) do |conference|
|
||||
Role.where(name: 'organizer', resource: conference).first_or_create(description: 'For the organizers of the conference (who shall have full access)')
|
||||
Role.where(name: 'cfp', resource: conference).first_or_create(description: 'For the members of the CfP team')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue