summaryrefslogtreecommitdiff
path: root/spec/graphql/types/board_list_type_spec.rb
blob: 7976936fc1f03fec38ecd93adc62dc7225d10aae (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['BoardList'] do
  specify { expect(described_class.graphql_name).to eq('BoardList') }

  it 'has specific fields' do
    expected_fields = %w[id list_type position label issues_count issues]

    expect(described_class).to include_graphql_fields(*expected_fields)
  end
end