blob: 62787ad220d065d9b9fa64ef8fd76497b777a2d0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe GitlabSchema.types['Organization'], feature_category: :cell do
let(:expected_fields) { %w[groups id name organization_users path web_url] }
specify { expect(described_class.graphql_name).to eq('Organization') }
specify { expect(described_class).to require_graphql_authorizations(:read_organization) }
specify { expect(described_class).to have_graphql_fields(*expected_fields) }
end
|