style(instructeurs): human/i18n value for state filter
This commit is contained in:
parent
7ff6455440
commit
7ff04c1a05
2 changed files with 11 additions and 2 deletions
|
@ -784,6 +784,14 @@ describe ProcedurePresentation do
|
|||
expect(subject).to eq("oui")
|
||||
end
|
||||
end
|
||||
|
||||
context 'when filter is state' do
|
||||
let(:filters) { { "suivis" => [{ "table" => "self", "column" => "state", "value" => "en_construction" }] } }
|
||||
|
||||
it 'should get i18n value' do
|
||||
expect(subject).to eq("En construction")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
describe "#add_filter" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue