debian-mirror-gitlab/spec/graphql/types/repository_type_spec.rb
2019-12-21 20:55:43 +05:30

14 lines
359 B
Ruby

# frozen_string_literal: true
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