rename avis#all to avis#index
This commit is contained in:
parent
bbec76d33b
commit
1d86f863d3
4 changed files with 4 additions and 4 deletions
|
@ -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) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue