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