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

require 'spec_helper'

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

  it 'exposes all the existing commit actions' do
    expect(described_class.values.keys).to match_array(%w[CREATE UPDATE MOVE DELETE CHMOD])
  end
end