blob: 1d1a76d6916485d084fa31bb4d9ac40e5c9bc8c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['ContainerRepositoryTag'] do
fields = %i[name path location digest revision short_revision total_size created_at can_delete]
it { expect(described_class.graphql_name).to eq('ContainerRepositoryTag') }
it { expect(described_class.description).to eq('A tag from a container repository') }
it { expect(described_class).to require_graphql_authorizations(:read_container_image) }
it { expect(described_class).to have_graphql_fields(fields) }
end
|