summaryrefslogtreecommitdiff
path: root/spec/graphql/types/ci/job_artifact_type_spec.rb
blob: 3e054faf0c9b2b751d87b1f807f1bd3ba7f4aa4b (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['CiJobArtifact'] do
  it 'has the correct fields' do
    expected_fields = [:id, :download_path, :file_type, :name, :size, :expire_at]

    expect(described_class).to have_graphql_fields(*expected_fields)
  end
end