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