From 9597cdac62c2ffa08b9f4302f60c7598ff66d415 Mon Sep 17 00:00:00 2001 From: "Garen J. Torikian" Date: Fri, 11 May 2018 17:52:43 -0400 Subject: [PATCH] okay thanks rubocop --- lib/graphql-docs.rb | 2 +- test/graphql-docs/graphql-docs_test.rb | 2 +- test/graphql-docs/parser_test.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/graphql-docs.rb b/lib/graphql-docs.rb index 8e76193..46921e8 100644 --- a/lib/graphql-docs.rb +++ b/lib/graphql-docs.rb @@ -1,4 +1,4 @@ -# rubocop:disable Style/FileName +# rubocop:disable Naming/FileName require 'graphql-docs/helpers' require 'graphql-docs/renderer' require 'graphql-docs/configuration' diff --git a/test/graphql-docs/graphql-docs_test.rb b/test/graphql-docs/graphql-docs_test.rb index 65d8782..089502d 100644 --- a/test/graphql-docs/graphql-docs_test.rb +++ b/test/graphql-docs/graphql-docs_test.rb @@ -1,4 +1,4 @@ -# rubocop:disable Style/FileName +# rubocop:disable Naming/FileName require 'test_helper' class GraphQLDocsTest < Minitest::Test diff --git a/test/graphql-docs/parser_test.rb b/test/graphql-docs/parser_test.rb index c3feb36..a67b699 100644 --- a/test/graphql-docs/parser_test.rb +++ b/test/graphql-docs/parser_test.rb @@ -28,7 +28,7 @@ def test_it_accepts_schema_class end results = GraphQLDocs::Parser.new(schema, {}).parse - assert_equal "test", results[:operation_types][0][:fields][0][:name] + assert_equal 'test', results[:operation_types][0][:fields][0][:name] assert_equal "Title paragraph.\n ```\n line1\n line2\n line3\n ```", results[:operation_types][0][:fields][0][:description] end