12 lines
302 B
Ruby
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
|