Make ticket layout configurable
This commit is contained in:
parent
f37d3095e1
commit
a21d95c486
7 changed files with 19 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue