summaryrefslogtreecommitdiff
path: root/spec/graphql/types/work_items/notes_filter_type_enum_spec.rb
blob: 13ce559c5292081f9c1f1b5d378c9134f5705c11 (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['NotesFilterType'], feature_category: :team_planning do
  specify { expect(described_class.graphql_name).to eq('NotesFilterType') }

  it 'exposes all the existing widget type values' do
    expect(described_class.values.transform_values(&:value)).to include(
      "ALL_NOTES" => 0, "ONLY_ACTIVITY" => 2, "ONLY_COMMENTS" => 1
    )
  end
end