[temp]Print page.html

This commit is contained in:
Jimmy 2021-04-19 18:37:04 +08:00 committed by CactusPuppy
parent 6d9b679cef
commit e6afb99dd6
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82

View file

@ -110,6 +110,7 @@ feature Splashpage do
scenario 'displays \'There are no events happening now and next.\' if nothing is happening now and next' do scenario 'displays \'There are no events happening now and next.\' if nothing is happening now and next' do
visit conference_path(conference2.short_title) visit conference_path(conference2.short_title)
p page.html
happening_now = page.find('#happening-now') happening_now = page.find('#happening-now')
expect(happening_now).to have_content('There are no events happening now and next.') expect(happening_now).to have_content('There are no events happening now and next.')
end end