2020-06-10 12:08:58 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-26 09:08:59 +00:00
|
|
|
RSpec.describe GitlabSchema.types['ReleaseEvidence'] do
|
2021-11-04 18:09:40 +00:00
|
|
|
specify { expect(described_class).to require_graphql_authorizations(:read_release_evidence) }
|
2020-06-10 12:08:58 +00:00
|
|
|
|
|
|
|
it 'has the expected fields' do
|
|
|
|
expected_fields = %w[
|
|
|
|
id sha filepath collected_at
|
|
|
|
]
|
|
|
|
|
|
|
|
expect(described_class).to include_graphql_fields(*expected_fields)
|
|
|
|
end
|
|
|
|
end
|