summaryrefslogtreecommitdiff
path: root/spec/graphql/types/branch_type_spec.rb
blob: f58b514116d69d8bc03576345892e689e707bbe3 (plain)
1
2
3
4
5
6
7
8
9
# frozen_string_literal: true

require 'spec_helper'

describe GitlabSchema.types['Branch'] do
  it { expect(described_class.graphql_name).to eq('Branch') }

  it { expect(described_class).to have_graphql_fields(:name, :commit) }
end