debian-mirror-gitlab/spec/graphql/types/ci/pipeline_merge_request_event_type_enum_spec.rb
2022-07-23 20:15:48 +02:00

14 lines
442 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['PipelineMergeRequestEventType'] do
specify { expect(described_class.graphql_name).to eq('PipelineMergeRequestEventType') }
it 'has specific values' do
expect(described_class.values).to match a_hash_including(
'MERGED_RESULT' => have_attributes(value: :merged_result),
'DETACHED' => have_attributes(value: :detached)
)
end
end