diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 29d7b31d..90b2c390 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -1,12 +1,12 @@ # This configuration was generated by # `rubocop --auto-gen-config` -# on 2025-01-15 12:21:42 UTC using RuboCop version 1.69.2. +# on 2025-01-22 14:03:07 UTC using RuboCop version 1.69.2. # The point is for the user to remove these configuration records # one by one as the offenses are removed from the code base. # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 67 +# Offense count: 70 # Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns. # AllowedMethods: refine Metrics/BlockLength: @@ -15,9 +15,9 @@ Metrics/BlockLength: # Offense count: 4 # Configuration parameters: CountComments, CountAsOne. Metrics/ClassLength: - Max: 492 + Max: 537 -# Offense count: 1 +# Offense count: 3 # Configuration parameters: Max, CountKeywordArgs. Metrics/ParameterLists: MaxOptionalParameters: 4 diff --git a/spec/meilisearch/index/documents_spec.rb b/spec/meilisearch/index/documents_spec.rb index f6b31b8a..cc1a19d9 100644 --- a/spec/meilisearch/index/documents_spec.rb +++ b/spec/meilisearch/index/documents_spec.rb @@ -70,7 +70,6 @@ expect(index.documents['results']).to contain_exactly(*documents_with_string_keys) end - context 'given a single document' do it 'adds only one document to index (as an hash of one document)' do new_doc = { objectId: 30, title: 'Hamlet' }