Skip to content

Commit

Permalink
Update spec/integration/rails/graphql/relay/relation_connection_spec.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
rmosolgo authored Feb 20, 2023
1 parent 4fc149c commit 398c301
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_last_cursor(result)
first_page_result = star_wars_query(query_string, { "first" => 2})
assert_equal(true, get_page_info(first_page_result)["hasNextPage"])

result = star_wars_query(query_string, { "first" => 2, after: get_page_info(first_page_result)["endCursor"] })
result = star_wars_query(query_string, { "first" => 2, "after" => get_page_info(first_page_result)["endCursor"] })
assert_equal(false, get_page_info(result)["hasNextPage"])
end

Expand Down

0 comments on commit 398c301

Please sign in to comment.