display count before text in tabs
This commit is contained in:
parent
f55c6ee371
commit
55b80df29d
3 changed files with 7 additions and 7 deletions
|
@ -216,11 +216,11 @@ feature 'Instructing a dossier:', js: true do
|
|||
|
||||
def test_statut_bar(a_suivre: 0, suivi: 0, traite: 0, tous_les_dossiers: 0, archive: 0)
|
||||
texts = [
|
||||
"à suivre #{a_suivre}",
|
||||
"suivi #{suivi}",
|
||||
"traité #{traite}",
|
||||
"tous les dossiers #{tous_les_dossiers}",
|
||||
"archivé #{archive}"
|
||||
"#{a_suivre} à suivre",
|
||||
"#{suivi} suivi",
|
||||
"#{traite} traité",
|
||||
"#{tous_les_dossiers} au total",
|
||||
"#{archive} archivé"
|
||||
]
|
||||
|
||||
texts.each { |text| expect(page).to have_text(text) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue