Skip to content

Commit

Permalink
Fix linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
curquiza committed Jan 11, 2022
1 parent 4e47876 commit 5577df1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion spec/meilisearch/client/keys_spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# frozen_string_literal: true

RSpec.describe 'MeiliSearch::Client - Keys' do

context 'When a client uses default key roles' do
let(:search_key) { client.keys['results'].find { |k| k['description'].start_with? 'Default Search' } }
let(:admin_key) { client.keys['results'].find { |k| k['description'].start_with? 'Default Admin' } }
Expand Down
2 changes: 1 addition & 1 deletion spec/meilisearch/client/tasks_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
include_context 'search books with genre'

let(:enqueued_task_keys) { ['uid', 'indexUid', 'status', 'type', 'enqueuedAt'] }
let(:succeeded_task_keys) { [ *enqueued_task_keys, 'details', 'duration', 'startedAt', 'finishedAt' ] }
let(:succeeded_task_keys) { [*enqueued_task_keys, 'details', 'duration', 'startedAt', 'finishedAt'] }
let!(:doc_addition_task) { index.add_documents!(documents) }
let(:task_uid) { doc_addition_task['uid'] }

Expand Down

0 comments on commit 5577df1

Please sign in to comment.