[style] fix style

This commit is contained in:
Jimmy 2021-03-09 18:31:02 -08:00
parent 59d19b3ae8
commit 9fd6659d9d

View file

@ -448,8 +448,8 @@ describe User do
let(:ticket_purchase) { create(user: user, conference: conference3, ticket: registration_ticket, quantity: 1) }
it 'counts the number of registration tickets of a conference held by user' do
expect(user.count_registration_tickets(conference3).to eq(1))
expect(user.count_registration_tickets(conference2).to eq(0))
expect(user.count_registration_tickets(conference3)).to eq(1)
expect(user.count_registration_tickets(conference2)).to eq(0)
end
end
end