2020-05-29 09:08:06 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 09:08:32 +00:00
|
|
|
RSpec.describe GitlabSchema.types['CommitEncoding'] do
|
2020-05-29 09:08:06 +00:00
|
|
|
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
|