Skip to content

Commit

Permalink
Merge #381
Browse files Browse the repository at this point in the history
381: Fix broken CI after rubocop upgrade r=brunoocasali a=jonatanrdsantos


Fixes broke CI #380

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jonatan Santos <jonatan.zarowny@gmail.com>
  • Loading branch information
3 people committed Oct 26, 2022
2 parents 77e4ff7 + d6bfaa7 commit 8c34f5c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ group :development, :test do
end

group :development do
gem 'rubocop', '~> 1.36.0', require: false
gem 'rubocop', '~> 1.37.1', require: false
end
2 changes: 1 addition & 1 deletion spec/meilisearch/index/search/attributes_to_crop_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,6 @@
response = index.search('', { attributesToCrop: ['description'], cropLength: 5 })
expect(response['hits'].first).to have_key('_formatted')
expect(response['hits'].first['description']).to eq(document[:description])
expect(response['hits'].first['_formatted']['description']).to eq("The Hitchhiker\'s Guide to…")
expect(response['hits'].first['_formatted']['description']).to eq("The Hitchhiker's Guide to…")
end
end

0 comments on commit 8c34f5c

Please sign in to comment.