From d2290c835fdc58cc0d3977b7b26a92731ceb6a15 Mon Sep 17 00:00:00 2001 From: Manav Patel Date: Mon, 28 Oct 2024 18:58:39 -0400 Subject: [PATCH] fix test --- spec/controllers/users_controller_spec.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 5f6ee6110ef..293d83632f4 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -397,7 +397,8 @@ before do # Seed the database with a number of users for pagination tests create_list(:user, 120) - + end + it 'displays 25 users per page when per_page is 25' do get :paginate_list, params: { per_page: '1' } expect(assigns(:users).length).to eq(25)