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

require 'spec_helper'

describe GitlabSchema.types['CommitEncoding'] do
  it { expect(described_class.graphql_name).to eq('CommitEncoding') }

  it 'exposes all the existing encoding option' do
    expect(described_class.values.keys).to match_array(%w[TEXT BASE64])
  end
end