Fix the test failures

This commit is contained in:
Sasi Olin 2022-03-30 12:39:01 +02:00
parent 50e876dd6f
commit e85ecede4c
29 changed files with 232 additions and 232 deletions

View file

@ -13,10 +13,10 @@ describe TicketScanning do
describe 'before_create' do
it 'marks user as present' do
expect(registration.attended).to eq(false)
expect(registration.attended).to be(false)
ticket_scanning
registration.reload
expect(registration.attended).to eq(true)
expect(registration.attended).to be(true)
end
end
end