Fix the test failures
This commit is contained in:
parent
50e876dd6f
commit
e85ecede4c
29 changed files with 232 additions and 232 deletions
|
|
@ -42,7 +42,7 @@ describe TicketPurchase do
|
|||
it 'it is not valid, if quantity for registration tickets is greater than to one' do
|
||||
ticket_purchase.quantity = 4
|
||||
|
||||
expect(ticket_purchase.valid?).to eq false
|
||||
expect(ticket_purchase.valid?).to be false
|
||||
expect(ticket_purchase.errors[:quantity]).to eq ['cannot be greater than one for registration tickets.']
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue