summaryrefslogtreecommitdiff
path: root/spec/graphql/types/ci/pipeline_status_enum_spec.rb
blob: 2d6683c63846f23fc61844f191b229b193b75df6 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::Ci::PipelineStatusEnum do
  it 'exposes all pipeline states' do
    expect(described_class.values.keys).to contain_exactly(
      *::Ci::Pipeline.all_state_names.map(&:to_s).map(&:upcase)
    )
  end
end