debian-mirror-gitlab/spec/graphql/types/notes/diff_position_type_spec.rb
2019-12-21 20:55:43 +05:30

13 lines
384 B
Ruby

# frozen_string_literal: true
require 'spec_helper'
describe GitlabSchema.types['DiffPosition'] do
it 'exposes the expected fields' do
expected_fields = [:diff_refs, :file_path, :old_path,
:new_path, :position_type, :old_line, :new_line, :x, :y,
:width, :height]
is_expected.to have_graphql_fields(*expected_fields)
end
end