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

merge_request_state_enum_spec.rb « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 6fc5803a5d067e343bea5f74913654a4aaef8547 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['MergeRequestState'] do
  specify { expect(described_class.graphql_name).to eq('MergeRequestState') }

  it_behaves_like 'issuable state'

  it 'exposes all the existing merge request states' do
    expect(described_class.values.keys).to include('merged')
  end
end