• Alex Kalderimis's avatar
    Add before test to pagination shared examples · 37198186
    Alex Kalderimis authored
    This mainly adds a new test to the pagination shared examples that
    verifies that we can paginate backwards as well as forwards.
    
    It takes the opportunity to:
    
    - update the queries use `nodes` rather than `edges.nodes`
    - update some of the query generation to be simpler
    - add some helper methods and bindings to DRY up this code
    37198186
projects_spec.rb 1.64 KB