2020-06-23 00:09:42 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe GitlabSchema.types['CommitActionMode'] do
|
2020-06-23 00:09:42 +05:30
|
|
|
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
|