2020-05-05 09:09:37 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 09:08:32 +00:00
|
|
|
RSpec.describe GitlabSchema.types['Branch'] do
|
2020-05-05 09:09:37 +00:00
|
|
|
it { expect(described_class.graphql_name).to eq('Branch') }
|
|
|
|
|
|
|
|
it { expect(described_class).to have_graphql_fields(:name, :commit) }
|
|
|
|
end
|