Welcome to mirror list, hosted at ThFree Co, Russian Federation.

file_input_action_enum_spec.rb « snippets « types « graphql « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ff9b706240bf673d2b5f4f760b45a47e0ffe3b94 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

require 'spec_helper'

RSpec.describe Types::Snippets::FileInputActionEnum do
  specify { expect(described_class.graphql_name).to eq('SnippetFileInputActionEnum') }

  it 'exposes all file input action types' do
    expect(described_class.values.keys).to eq(%w[create update delete move])
  end
end