gitlab-org--gitlab-foss/spec/graphql/types/merge_request_connection_ty...

12 lines
302 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['MergeRequestConnection'] do
it 'has the expected fields' do
expected_fields = %i[count totalTimeToMerge page_info edges nodes]
expect(described_class).to have_graphql_fields(*expected_fields)
end
end