2020-11-25 03:09:43 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe GitlabSchema.types['CiJobArtifact'] do
|
|
|
|
it 'has the correct fields' do
|
2021-11-03 12:10:26 +00:00
|
|
|
expected_fields = [:download_path, :file_type, :name]
|
2020-11-25 03:09:43 +00:00
|
|
|
|
|
|
|
expect(described_class).to have_graphql_fields(*expected_fields)
|
|
|
|
end
|
|
|
|
end
|