[fix]Change wording when no events is happening now or next
This commit is contained in:
parent
24d2fa89a8
commit
2280d1f7b6
2 changed files with 3 additions and 3 deletions
|
|
@ -13,4 +13,4 @@
|
||||||
!= pagy_bootstrap_nav_js(pagy)
|
!= pagy_bootstrap_nav_js(pagy)
|
||||||
- else
|
- else
|
||||||
.row
|
.row
|
||||||
%h3.text-center There are no events happening now and next.
|
%h3.text-center There are no events scheduled yet.
|
||||||
|
|
|
||||||
|
|
@ -108,10 +108,10 @@ feature Splashpage do
|
||||||
sign_in participant
|
sign_in participant
|
||||||
end
|
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)
|
visit conference_path(conference2.short_title)
|
||||||
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 scheduled yet.')
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'shows all events happening next if nothing is happening now' do
|
scenario 'shows all events happening next if nothing is happening now' do
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue