remove unused GraphQl input
This commit is contained in:
@@ -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
|
|
||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user