2019-09-04 21:01:54 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
describe Types::Tree::TreeType do
|
|
|
|
it { expect(described_class.graphql_name).to eq('Tree') }
|
|
|
|
|
2019-09-30 21:07:59 +05:30
|
|
|
it { expect(described_class).to have_graphql_fields(:trees, :submodules, :blobs, :last_commit) }
|
2019-09-04 21:01:54 +05:30
|
|
|
end
|