summaryrefslogtreecommitdiff
path: root/spec/graphql/types/merge_request_state_event_enum_spec.rb
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