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
|
|
@ -2,6 +2,7 @@ require 'spec_helper'
|
|||
|
||||
describe RegistrationPeriod do
|
||||
let!(:conference) { create(:conference, start_date: Date.today, end_date: Date.today + 6) }
|
||||
let!(:registration_ticket) { create(:registration_ticket, conference: conference) }
|
||||
let!(:registration_period) { create(:registration_period, start_date: Date.today - 2, end_date: Date.today - 1, conference: conference) }
|
||||
|
||||
describe 'validations' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue