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

require 'spec_helper'

RSpec.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