blob: 95d835c88cf65cfd6a36479edc18d71d09dde727 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# frozen_string_literal: true
require 'spec_helper'
RSpec.describe Types::MutationType do
it 'is expected to have the MergeRequestSetDraft' do
expect(described_class).to have_graphql_mutation(Mutations::MergeRequests::SetDraft)
end
def get_field(name)
described_class.fields[GraphqlHelpers.fieldnamerize(name)]
end
end
|