Welcome to mirror list, hosted at ThFree Co, Russian Federation.

generic_type_spec.rb « widget_definitions « work_items « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 19e962e71fd57bc1af89c8b2c3f5b162affe9b53 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::WorkItems::WidgetDefinitions::GenericType, feature_category: :team_planning do
  it 'exposes the expected fields' do
    expected_fields = %i[type]

    expect(described_class).to have_graphql_fields(*expected_fields)
  end
end