2020-12-02 06:09:50 +00:00
|
|
|
# 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
|
2021-12-20 15:12:25 +00:00
|
|
|
expect(described_class.values.keys).to contain_exactly('DIRECT', 'INHERITED', 'DESCENDANTS', 'SHARED_FROM_GROUPS')
|
2020-12-02 06:09:50 +00:00
|
|
|
end
|
|
|
|
end
|