Fix up test failures in Chrome & Firefox

This commit is contained in:
James Mason 2018-10-25 16:16:56 -07:00
parent b72bb8a0ed
commit 1b9a12746d
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