[fix]Change wording when no events is happening now or next

This commit is contained in:
Jimmy 2021-04-20 13:21:19 +08:00 committed by CactusPuppy
parent 8a335e5e8d
commit ef119d0fb6
No known key found for this signature in database
GPG key ID: 4B33B0A3E15E2C82
2 changed files with 3 additions and 3 deletions

View file

@ -13,4 +13,4 @@
!= pagy_bootstrap_nav_js(pagy)
- else
.row
%h3.text-center There are no events happening now and next.
%h3.text-center There are no events scheduled yet.

View file

@ -108,10 +108,10 @@ feature Splashpage do
sign_in participant
end
scenario 'displays \'There are no events happening now and next.\' if nothing is happening now and next' do
scenario 'displays \'There are no events scheduled yet.\' if nothing is happening now and next' do
visit conference_path(conference2.short_title)
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 scheduled yet.')
end
scenario 'shows all events happening next if nothing is happening now' do