diff options
Diffstat (limited to 'spec/graphql/types/snippets/file_input_type_spec.rb')
-rw-r--r-- | spec/graphql/types/snippets/file_input_type_spec.rb | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/graphql/types/snippets/file_input_type_spec.rb b/spec/graphql/types/snippets/file_input_type_spec.rb deleted file mode 100644 index c7d4909b542..00000000000 --- a/spec/graphql/types/snippets/file_input_type_spec.rb +++ /dev/null @@ -1,15 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe Types::Snippets::FileInputType do - specify { expect(described_class.graphql_name).to eq('SnippetFileInputType') } - - it 'has the correct arguments' do - expect(described_class.arguments.keys).to match_array(%w[filePath action previousPath content]) - end - - it 'sets the type of action argument to FileInputActionEnum' do - expect(described_class.arguments['action'].type.of_type).to eq(Types::Snippets::FileInputActionEnum) - end -end |