Fix up test failures in Chrome & Firefox

This commit is contained in:
James Mason 2018-10-25 16:16:56 -07:00
parent 998ad00d83
commit cbcfbe4cec
No known key found for this signature in database
GPG key ID: 1B3951886C449023
29 changed files with 145 additions and 78 deletions

View file

@ -35,7 +35,11 @@ feature Registration do
click_link 'My Registration'
expect(current_path).to eq(conference_conference_registration_path(conference.short_title))
click_link 'Unregister'
page.accept_alert do
click_link 'Unregister'
end
page.find('#flash')
expect(page).to have_content('not registered')
expect(conference.user_registered?(participant)).to be(false)
end
end