summaryrefslogtreecommitdiff
path: root/spec/lib/api/helpers
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'ab-42194-keyset-pagination' into 'master'Yorick Peterse2018-05-221-8/+204
|\ | | | | | | | | | | | | API: Keyset pagination support Closes #45756 See merge request gitlab-org/gitlab-ce!18584
| * Add keyset pagination for API calls.Andreas Brandl2018-05-211-8/+204
| | | | | | | | Closes #45756.
* | Fix `expose_url` helper does not include custom base url if it is setFrancisco Javier López2018-05-221-2/+14
|/
* Respect the protocol in `expose_url`Toon Claes2018-03-121-0/+41
| | | | | | | When https is configured in the URL, also use that, and do not set it to http. Closes gitlab-org/gitlab-ee#5217
* Added default order to UserFinderFrancisco Javier López2017-12-041-0/+21
|
* Total Pages should be at least onetc-git-tower-pagination-linksToon Claes2017-08-171-1/+2
| | | | And the link to the last page cannot be `page=0`.
* Add specs for pagination Link headerToon Claes2017-08-171-4/+47
| | | | | | | | | | | | | Add specs that check the 'Link' header for the inclusion of: - rel="first" - rel="last" - rel="prev" - rel="next" Fixes gitlab-org/gitlab-ce#36618 Related to gitlab-com/infrastructure#2532
* Change all `:empty_project` to `:project`rs-empty_project-defaultRobert Speicher2017-08-021-1/+1
|
* Add tests for pagination module extracted from APIGrzegorz Bizon2016-12-271-0/+94