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:
siddhantbajaj 2017-08-12 01:27:16 +05:30
parent 22fc20468f
commit 157c270497
10 changed files with 27 additions and 5 deletions

View file

@ -3,5 +3,8 @@ FactoryGirl.define do
title { "#{Faker::Hipster.word} Ticket" }
price_cents 1000
price_currency 'USD'
factory :registration_ticket do
registration_ticket true
end
end
end