fix missing state translation

This commit is contained in:
simon lehericey 2021-05-10 11:00:57 +02:00
parent c639268e74
commit c5f6c9ae1e
2 changed files with 7 additions and 1 deletions

View file

@ -1430,4 +1430,10 @@ describe Dossier do
expect(dossier.destroy).to be_truthy
end
end
describe "#spreadsheet_columns" do
let(:dossier) { create(:dossier) }
it { expect(dossier.spreadsheet_columns(types_de_champ: [], types_de_champ_private: [])).to include(["État du dossier", "Brouillon"]) }
end
end