Change wording "Valider le dossier" to "Déclarer complet"
This commit is contained in:
parent
de07d4437c
commit
6f40424979
3 changed files with 23 additions and 23 deletions
|
@ -59,9 +59,9 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
|
|||
|
||||
it { expect(rendered).to have_content('Nouveau') }
|
||||
|
||||
it 'button Valider le dossier is present' do
|
||||
expect(rendered).to have_css('#action_button')
|
||||
expect(rendered).to have_content('Valider le dossier')
|
||||
it 'button Déclarer complet is present' do
|
||||
expect(rendered).to have_css('.action_button')
|
||||
expect(rendered).to have_content('Déclarer complet')
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -74,9 +74,9 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
|
|||
|
||||
it { expect(rendered).to have_content('Répondu') }
|
||||
|
||||
it 'button Valider le dossier is present' do
|
||||
expect(rendered).to have_css('#action_button')
|
||||
expect(rendered).to have_content('Valider le dossier')
|
||||
it 'button Déclarer complet is present' do
|
||||
expect(rendered).to have_css('.action_button')
|
||||
expect(rendered).to have_content('Déclarer complet')
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -89,9 +89,9 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
|
|||
|
||||
it { expect(rendered).to have_content('Mis à jour') }
|
||||
|
||||
it 'button Valider le dossier is present' do
|
||||
expect(rendered).to have_css('#action_button')
|
||||
expect(rendered).to have_content('Valider le dossier')
|
||||
it 'button Déclarer complet is present' do
|
||||
expect(rendered).to have_css('.action_button')
|
||||
expect(rendered).to have_content('Déclarer complet')
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -104,9 +104,9 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
|
|||
|
||||
it { expect(rendered).to have_content('Figé') }
|
||||
|
||||
it 'button Valider le dossier is not present' do
|
||||
expect(rendered).not_to have_css('#action_button')
|
||||
expect(rendered).not_to have_content('Valider le dossier')
|
||||
it 'button Déclarer complet is not present' do
|
||||
expect(rendered).not_to have_css('.action_button')
|
||||
expect(rendered).not_to have_content('Déclarer complet')
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -120,11 +120,11 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
|
|||
it { expect(rendered).to have_content('Déposé') }
|
||||
|
||||
it 'button notifier de la bonne réception is present' do
|
||||
expect(rendered).to have_css('#action_button')
|
||||
expect(rendered).to have_css('.action_button')
|
||||
expect(rendered).to have_content('Notifier de la bonne réception')
|
||||
end
|
||||
|
||||
it 'button Valider le dossier is not present' do
|
||||
it 'button Déclarer complet is not present' do
|
||||
expect(rendered).not_to have_content('Accepter le dossier')
|
||||
end
|
||||
end
|
||||
|
@ -170,7 +170,7 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
|
|||
|
||||
it { expect(rendered).to have_content('Sans suite') }
|
||||
|
||||
it 'button Valider le dossier is not present' do
|
||||
it 'button Déclarer complet is not present' do
|
||||
expect(rendered).not_to have_css('.action_button[data-toggle="tooltip"][title="Accepter"]')
|
||||
expect(rendered).not_to have_css('.action_button[data-toggle="tooltip"][title="Classer sans suite"]')
|
||||
expect(rendered).not_to have_css('.action_button[data-toggle="tooltip"][title="Refuser"]')
|
||||
|
@ -186,7 +186,7 @@ describe 'backoffice/dossiers/show.html.haml', type: :view do
|
|||
|
||||
it { expect(rendered).to have_content('Refusé') }
|
||||
|
||||
it 'button Valider le dossier is not present' do
|
||||
it 'button Déclarer complet is not present' do
|
||||
expect(rendered).not_to have_css('.action_button[data-toggle="tooltip"][title="Accepter"]')
|
||||
expect(rendered).not_to have_css('.action_button[data-toggle="tooltip"][title="Classer sans suite"]')
|
||||
expect(rendered).not_to have_css('.action_button[data-toggle="tooltip"][title="Refuser"]')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue