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: 9c286c54e159637c83435f063047a000be41cf7d (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', 'opened')
  end
end