Make spec thread safe...

Something(???) has changed that Github Actions has become *so* fast that those hit now...
This commit is contained in:
Henne Vogelsang 2025-08-05 17:50:55 +02:00
parent 4b833840fd
commit eb16282a01
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
4 changed files with 9 additions and 8 deletions

View file

@ -46,11 +46,10 @@ feature Registration do
context 'who is not registered' do
scenario 'registers for a conference', feature: true, js: true do
visit root_path
click_link 'Register'
expect(current_path).to eq(new_conference_conference_registration_path(conference.short_title))
visit new_conference_conference_registration_path(conference.short_title)
click_button 'Register'
page.find('#flash')
expect(flash).to eq('You are now registered and will be receiving E-Mail notifications.')
expect(conference.user_registered?(participant)).to be(true)
end