debian-mirror-gitlab/spec/graphql/types/commit_action_mode_enum_spec.rb
2020-06-23 00:09:42 +05:30

12 lines
330 B
Ruby

# 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