Skip to content

Refactor package shared spec to use new GraphQL shared examples

Thiago Figueiró requested to merge 419768-packages-shared-examples into master

What does this MR do and why?

Refactor a shared example to use new GraphQL shared examples introduced in #419768.

The shared example group and project packages query is used by:

  • spec/requests/api/graphql/group/packages_spec.rb
  • spec/requests/api/graphql/project/packages_spec.rb

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #419768

Merge request reports