summaryrefslogtreecommitdiff
path: root/spec/graphql/types/ci/job_artifact_type_spec.rb
blob: d4dc5ef214d84fef02c1231d44d4e74154e4835b (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 = [:download_path, :file_type]

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