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)