diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 10:33:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-05-19 10:33:21 +0300 |
commit | 36a59d088eca61b834191dacea009677a96c052f (patch) | |
tree | e4f33972dab5d8ef79e3944a9f403035fceea43f /spec/graphql/types/packages/package_type_spec.rb | |
parent | a1761f15ec2cae7c7f7bbda39a75494add0dfd6f (diff) |
Add latest changes from gitlab-org/gitlab@15-0-stable-eev15.0.0-rc42
Diffstat (limited to 'spec/graphql/types/packages/package_type_spec.rb')
-rw-r--r-- | spec/graphql/types/packages/package_type_spec.rb | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/spec/graphql/types/packages/package_type_spec.rb b/spec/graphql/types/packages/package_type_spec.rb index 3267c765dc7..df8135ed87e 100644 --- a/spec/graphql/types/packages/package_type_spec.rb +++ b/spec/graphql/types/packages/package_type_spec.rb @@ -3,12 +3,16 @@ require 'spec_helper' RSpec.describe GitlabSchema.types['Package'] do - it 'includes all the package fields' do + specify { expect(described_class.description).to eq('Represents a package with pipelines in the Package Registry') } + + specify { expect(described_class).to require_graphql_authorizations(:read_package) } + + it 'includes all the package fields and pipelines' do expected_fields = %w[ id name version package_type created_at updated_at project - tags pipelines metadata versions + tags pipelines metadata status can_destroy ] |