2020-05-24 23:13:21 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-07-28 23:09:34 +05:30
|
|
|
RSpec.describe GitlabSchema.types['Branch'] do
|
2020-05-24 23:13:21 +05:30
|
|
|
it { expect(described_class.graphql_name).to eq('Branch') }
|
|
|
|
|
|
|
|
it { expect(described_class).to have_graphql_fields(:name, :commit) }
|
|
|
|
end
|