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

commit_encoding_enum_spec.rb « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
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