diff --git a/spec/controllers/users_controller_spec.rb b/spec/controllers/users_controller_spec.rb index c908e64070c..bab9cde75f4 100644 --- a/spec/controllers/users_controller_spec.rb +++ b/spec/controllers/users_controller_spec.rb @@ -396,7 +396,7 @@ context '#paginate_list' do before do # Seed the database with a number of users for pagination tests - create_list(:student, 120) + FactoryBot.create_list(:test_user, 90) end it 'displays 25 users per page when per_page is 25' do