2020-09-03 12:08:47 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe GitlabSchema.types['BoardIssueInput'] do
|
|
|
|
it { expect(described_class.graphql_name).to eq('BoardIssueInput') }
|
|
|
|
|
2021-04-13 18:11:28 +00:00
|
|
|
it 'has specific fields' do
|
2020-09-03 12:08:47 +00:00
|
|
|
allowed_args = %w(labelName milestoneTitle assigneeUsername authorUsername
|
2021-12-02 06:15:23 +00:00
|
|
|
releaseTag myReactionEmoji not search assigneeWildcardId confidential)
|
2020-09-03 12:08:47 +00:00
|
|
|
|
|
|
|
expect(described_class.arguments.keys).to include(*allowed_args)
|
|
|
|
expect(described_class.arguments['not'].type).to eq(Types::Boards::NegatedBoardIssueInputType)
|
|
|
|
end
|
|
|
|
end
|