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

require 'spec_helper'

RSpec.describe GitlabSchema.types['MergeRequestConnection'] do
  it 'has the expected fields' do
    expected_fields = %i[count page_info edges nodes]

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