Skip to content

Commit

Permalink
Make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
ellnix committed Jan 22, 2025
1 parent ccd923d commit a89a377
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion spec/meilisearch/index/documents_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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' }
Expand Down

0 comments on commit a89a377

Please sign in to comment.