debian-mirror-gitlab/spec/graphql/types/branch_type_spec.rb
2020-08-09 17:44:08 +05:30

10 lines
240 B
Ruby

# 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