Skip to content

Commit

Permalink
appease rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
sskirby committed May 29, 2024
1 parent 2eb08c8 commit 96dda53
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 96dda53

Please sign in to comment.