2020-06-16 12:09:00 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-26 09:08:59 +00:00
|
|
|
RSpec.describe Types::Snippets::FileInputActionEnum do
|
2020-06-16 12:09:00 +00:00
|
|
|
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
|