From 51a493b327b85673c680ec3a13e77369972bce3b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Geonizeli?= Date: Sat, 14 Aug 2021 11:45:25 -0300 Subject: [PATCH] remove unused GraphQl input --- app/graphql/inputs/user_attributes_input.rb | 9 --------- spec/graphql/inputs/user_attributes_input_spec.rb | 11 ----------- 2 files changed, 20 deletions(-) delete mode 100644 app/graphql/inputs/user_attributes_input.rb delete mode 100644 spec/graphql/inputs/user_attributes_input_spec.rb diff --git a/app/graphql/inputs/user_attributes_input.rb b/app/graphql/inputs/user_attributes_input.rb deleted file mode 100644 index 61dc56a..0000000 --- a/app/graphql/inputs/user_attributes_input.rb +++ /dev/null @@ -1,9 +0,0 @@ -# frozen_string_literal: true -module Inputs - class UserAttributesInput < Types::BaseInputObject - graphql_name "UserAttributesInput" - - argument :first_name, String, required: true - argument :last_name, String, required: true - end -end diff --git a/spec/graphql/inputs/user_attributes_input_spec.rb b/spec/graphql/inputs/user_attributes_input_spec.rb deleted file mode 100644 index d3fe858..0000000 --- a/spec/graphql/inputs/user_attributes_input_spec.rb +++ /dev/null @@ -1,11 +0,0 @@ -# frozen_string_literal: true -require "rails_helper" - -RSpec.describe(Inputs::UserAttributesInput) do - subject { described_class } - - describe "arguments" do - it { is_expected.to(accept_argument(:first_name).of_type("String!")) } - it { is_expected.to(accept_argument(:last_name).of_type("String!")) } - end -end