2020-04-21 15:21:10 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 09:08:32 +00:00
|
|
|
RSpec.describe GitlabSchema.types['BoardList'] do
|
2020-05-07 06:09:38 +00:00
|
|
|
specify { expect(described_class.graphql_name).to eq('BoardList') }
|
2020-04-21 15:21:10 +00:00
|
|
|
|
|
|
|
it 'has specific fields' do
|
2020-08-13 21:10:04 +00:00
|
|
|
expected_fields = %w[id list_type position label issues_count issues]
|
2020-04-21 15:21:10 +00:00
|
|
|
|
|
|
|
expect(described_class).to include_graphql_fields(*expected_fields)
|
|
|
|
end
|
|
|
|
end
|