removal of translation keys already present in the gem rails-i18n
This commit is contained in:
parent
9bfd521a19
commit
25a24ba7c8
5 changed files with 8 additions and 302 deletions
|
@ -18,7 +18,7 @@ describe Champs::DecimalNumberChamp do
|
|||
let(:value) { 'toto' }
|
||||
|
||||
it { is_expected.to_not be_valid }
|
||||
it { expect(subject.errors[:value]).to eq(["« #{subject.libelle} » doit être un nombre"]) }
|
||||
it { expect(subject.errors[:value]).to eq(["« #{subject.libelle} » n'est pas un nombre"]) }
|
||||
end
|
||||
|
||||
context 'when the value is blank' do
|
||||
|
|
|
@ -38,7 +38,7 @@ describe 'shared/dossiers/demande.html.haml', type: :view do
|
|||
expect(subject).to include(individual.gender)
|
||||
expect(subject).to include(individual.nom)
|
||||
expect(subject).to include(individual.prenom)
|
||||
expect(subject).to include(I18n.l(individual.birthdate))
|
||||
expect(subject).to include(I18n.l(individual.birthdate, format: :long))
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue