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

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

require 'spec_helper'

describe GitlabSchema.types['Group'] do
  it { expect(described_class).to expose_permissions_using(Types::PermissionTypes::Group) }

  it { expect(described_class.graphql_name).to eq('Group') }

  it { expect(described_class).to require_graphql_authorizations(:read_group) }
end