Remove will paginate
This commit is contained in:
parent
f983fc3ea3
commit
62d8381ef7
10 changed files with 13 additions and 21 deletions
|
@ -65,7 +65,7 @@ describe API::V1::DossiersController do
|
|||
let!(:dossier2) { create(:dossier, :with_entreprise, procedure: procedure, state: 'en_construction') }
|
||||
|
||||
before do
|
||||
allow(Dossier).to receive(:per_page).and_return(1)
|
||||
allow(controller).to receive(:per_page).and_return(1)
|
||||
end
|
||||
|
||||
describe 'pagination' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue