debian-mirror-gitlab/spec/graphql/types/blob_viewers/type_enum_spec.rb

12 lines
300 B
Ruby
Raw Normal View History

2020-03-13 15:44:24 +05:30
# frozen_string_literal: true
require 'spec_helper'
describe Types::BlobViewers::TypeEnum do
2020-05-24 23:13:21 +05:30
specify { expect(described_class.graphql_name).to eq('BlobViewersType') }
2020-03-13 15:44:24 +05:30
it 'exposes all tree entry types' do
expect(described_class.values.keys).to include(*%w[rich simple auxiliary])
end
end