rename avis#all to avis#index

This commit is contained in:
Christophe Robillard 2020-06-26 20:02:01 +02:00
parent bbec76d33b
commit 1d86f863d3
4 changed files with 4 additions and 4 deletions

View file

@ -12,8 +12,8 @@ describe Instructeurs::AvisController, type: :controller do
before { sign_in(instructeur.user) }
describe '#all' do
before { get :all }
describe '#index' do
before { get :index }
it { expect(response).to have_http_status(:success) }
it { expect(assigns(:avis_by_procedure).flatten).to include(procedure) }