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

merge_request_state_event_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: 94214b297550a1040e190c54b899acd4f4de1973 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe GitlabSchema.types['MergeRequestNewState'] do
  it 'has the appropriate values' do
    expect(described_class.values).to contain_exactly(
      ['OPEN', have_attributes(value: 'reopen')],
      ['CLOSED', have_attributes(value: 'close')]
    )
  end
end