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

require 'spec_helper'

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