2020-07-28 23:09:34 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2021-02-22 17:27:13 +05:30
|
|
|
RSpec.describe GitlabSchema.types['PipelineConnection'] do
|
2020-07-28 23:09:34 +05:30
|
|
|
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
|