Fix administrate pagination by pinning to an old version of kaminari
This commit is contained in:
parent
15e25b0c3e
commit
e540dea929
3 changed files with 28 additions and 12 deletions
|
@ -25,4 +25,20 @@ describe Manager::ProceduresController, type: :controller do
|
|||
|
||||
it { expect(response.body).to include('sub type de champ') }
|
||||
end
|
||||
|
||||
describe '#index' do
|
||||
render_views
|
||||
|
||||
let(:administration) { create(:administration) }
|
||||
let!(:dossier) { create(:dossier) }
|
||||
|
||||
context 'sort by dossiers' do
|
||||
before do
|
||||
sign_in(administration)
|
||||
get :index, params: { procedure: { direction: 'asc', order: 'dossiers' } }
|
||||
end
|
||||
|
||||
it { expect(response.body).to include('1 dossier') }
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue