Make spec thread safe...
Something(???) has changed that Github Actions has become *so* fast that those hit now...
This commit is contained in:
parent
4b833840fd
commit
eb16282a01
4 changed files with 9 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue