clean(avis_controller_spec)

This commit is contained in:
simon lehericey 2022-11-28 14:57:45 +01:00 committed by LeSim
parent 644b88ea0e
commit 6ad048955b

View file

@ -23,8 +23,8 @@ describe Experts::AvisController, type: :controller do
before { get :index }
it do
expect(response).to have_http_status(:success)
expect(assigns(:avis_by_procedure).flatten).to include(procedure)
expect(assigns(:avis_by_procedure).flatten).not_to include(another_procedure)
expect(assigns(:avis_by_procedure).keys).to include(procedure)
expect(assigns(:avis_by_procedure).keys).not_to include(another_procedure)
end
end