Merge pull request #862 from sgmap/fix-tests

Fix a test broken by #851
This commit is contained in:
gregoirenovel 2017-10-17 11:52:01 +02:00 committed by GitHub
commit 2c5b9485a3

View file

@ -30,6 +30,6 @@ describe 'new_gestionnaire/dossiers/show.html.haml', type: :view do
it { expect(rendered).to include(individual.gender) }
it { expect(rendered).to include(individual.nom) }
it { expect(rendered).to include(individual.prenom) }
it { expect(rendered).to include(individual.birthdate) }
it { expect(rendered).to include(Date.parse(individual.birthdate).strftime("%d/%m/%Y")) }
end
end