Add locales dynamics (opensimplif)

This commit is contained in:
Xavier J 2016-11-03 16:46:26 +01:00
parent e596f71b07
commit 68951c3a53
28 changed files with 169 additions and 59 deletions

View file

@ -26,7 +26,7 @@ describe PreferenceListDossier do
describe 'dossier_id' do
subject { super()[:dossier_id] }
it { expect(subject[:libelle]).to eq 'ID' }
it { expect(subject[:libelle]).to eq '' }
it { expect(subject[:table]).to be_nil }
it { expect(subject[:attr]).to eq 'id' }
it { expect(subject[:attr_decorate]).to eq 'id' }
@ -62,7 +62,7 @@ describe PreferenceListDossier do
describe 'state' do
subject { super()[:state] }
it { expect(subject[:libelle]).to eq 'Statut' }
it { expect(subject[:libelle]).to eq 'État' }
it { expect(subject[:table]).to be_nil }
it { expect(subject[:attr]).to eq 'state' }
it { expect(subject[:attr_decorate]).to eq 'display_state' }