From 96dda5369089c26fc17e33a0cc449b45337b1faa Mon Sep 17 00:00:00 2001 From: Sean Kirby Date: Wed, 29 May 2024 14:23:59 -0400 Subject: [PATCH] appease rubocop --- .../lib/nulogy_graphql_api/tasks/schema_generator_spec.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/spec/integration/lib/nulogy_graphql_api/tasks/schema_generator_spec.rb b/spec/integration/lib/nulogy_graphql_api/tasks/schema_generator_spec.rb index 3e1571d..65c37b2 100644 --- a/spec/integration/lib/nulogy_graphql_api/tasks/schema_generator_spec.rb +++ b/spec/integration/lib/nulogy_graphql_api/tasks/schema_generator_spec.rb @@ -1,17 +1,16 @@ class VisibleQuery < GraphQL::Schema::Object field :test, String, null: false - end +end class InvisibleQuery < GraphQL::Schema::Object field :test, String, null: false - def self.visible?(context) + def self.visible?(_context) false end end RSpec.describe NulogyGraphqlApi::Tasks::SchemaGenerator do - it "stringifies the schema" do fake_schema = Class.new(GraphQL::Schema) do query VisibleQuery