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