summaryrefslogtreecommitdiff
path: root/spec/graphql/types/group_member_relation_enum_spec.rb
blob: 315809ef75ee939c1eb5fec3d8827ae263a9a502 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::GroupMemberRelationEnum do
  specify { expect(described_class.graphql_name).to eq('GroupMemberRelation') }

  it 'exposes all the existing group member relation type values' do
    expect(described_class.values.keys).to contain_exactly('DIRECT', 'INHERITED', 'DESCENDANTS')
  end
end