blob: fb52839c7122ebc48ac35240bf235a8868dab7d8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
require 'spec_helper'
describe GitlabSchema.types['Repository'] do
specify { expect(described_class.graphql_name).to eq('Repository') }
specify { expect(described_class).to require_graphql_authorizations(:download_code) }
specify { expect(described_class).to have_graphql_field(:root_ref) }
specify { expect(described_class).to have_graphql_field(:tree) }
end
|