Skip to content

Commit

Permalink
Edit rspec test
Browse files Browse the repository at this point in the history
  • Loading branch information
Manav Patel committed Oct 28, 2024
1 parent d2290c8 commit c830b6c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/controllers/users_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c830b6c

Please sign in to comment.