summaryrefslogtreecommitdiff
path: root/spec/graphql/types/snippets/blob_viewer_type_spec.rb
blob: a51d09813ab6cb8ca8bdf79f0ba90b0d4fa160bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
# frozen_string_literal: true

require 'spec_helper'

describe GitlabSchema.types['SnippetBlobViewer'] do
  it 'has the correct fields' do
    expected_fields = [:type, :load_async, :too_large, :collapsed,
                       :render_error, :file_type, :loading_partial_name]

    expect(described_class).to have_graphql_fields(*expected_fields)
  end
end