Welcome to mirror list, hosted at ThFree Co, Russian Federation.

type_enum_spec.rb « blob_viewers « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 57f052a4fd811d401c34c4e52b14f6275157702f (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::BlobViewers::TypeEnum do
  specify { expect(described_class.graphql_name).to eq('BlobViewersType') }

  it 'exposes all tree entry types' do
    expect(described_class.values.keys).to include(*%w[rich simple auxiliary])
  end
end