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['CommitActionMode'] do
|
2020-05-29 09:08:06 +00:00
|
|
|
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
|