Registration tickets to be set for registration period
Admin must create at least one registration ticket before creating registration period.
This commit is contained in:
parent
22fc20468f
commit
157c270497
10 changed files with 27 additions and 5 deletions
|
|
@ -6,6 +6,7 @@ feature RegistrationPeriod do
|
|||
let!(:conference) { create(:conference) }
|
||||
let!(:organizer_role) { Role.find_by(name: 'organizer', resource: conference) }
|
||||
let!(:organizer) { create(:user, email: 'admin@example.com', role_ids: [organizer_role.id]) }
|
||||
let!(:registration_ticket) { create(:registration_ticket, conference: conference) }
|
||||
|
||||
shared_examples 'successfully' do
|
||||
scenario 'create and update registration period', js: true do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue