debian-mirror-gitlab/spec/graphql/types/tree/tree_entry_type_spec.rb

10 lines
273 B
Ruby
Raw Normal View History

2019-09-04 21:01:54 +05:30
# frozen_string_literal: true
require 'spec_helper'
describe Types::Tree::TreeEntryType do
it { expect(described_class.graphql_name).to eq('TreeEntry') }
2019-12-26 22:10:19 +05:30
it { expect(described_class).to have_graphql_fields(:id, :sha, :name, :type, :path, :flat_path, :web_url) }
2019-09-04 21:01:54 +05:30
end