From c830b6ce5a9b8858cfe941cc9446afd9ebd7ae10 Mon Sep 17 00:00:00 2001 From: Manav Patel Date: Mon, 28 Oct 2024 19:21:25 -0400 Subject: [PATCH] Edit rspec test --- spec/controllers/users_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index 293d83632f4..c908e64070c 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -396,9 +396,9 @@ context '#paginate_list' do before do # Seed the database with a number of users for pagination tests - create_list(:user, 120) + create_list(:student, 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)