Make ticket layout configurable

This commit is contained in:
siddhantbajaj 2017-06-30 05:26:21 +05:30
parent f37d3095e1
commit a21d95c486
7 changed files with 19 additions and 1 deletions

View file

@ -1573,6 +1573,10 @@ describe Conference do
should validate_presence_of(:end_hour)
end
it 'is not valid without a ticket_layout' do
should validate_presence_of(:ticket_layout)
end
it 'is not valid with a duplicate short title' do
should validate_uniqueness_of(:short_title)
end