[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
parent 24d2fa89a8
commit 2280d1f7b6
No known key found for this signature in database
GPG key ID: FAE75C760A4A5CC6
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