Welcome to mirror list, hosted at ThFree Co, Russian Federation.

pipeline_merge_request_event_type_enum_spec.rb « ci « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 3a90e4f1fd9b126dc46b0ce5ef90c9a71d6745c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# 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