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

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

require 'spec_helper'

RSpec.describe GitlabSchema.types['WorkItemWidgetType'] do
  specify { expect(described_class.graphql_name).to eq('WorkItemWidgetType') }

  it 'exposes all the existing widget type values' do
    expect(described_class.values.transform_values { |v| v.value }).to include(
      'DESCRIPTION' => :description
    )
  end
end