Skip to content

Commit 850adaa

Browse files
committed
Lint
1 parent 02af1e5 commit 850adaa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/meilisearch/index/wait_for_pending_update_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
response = @index.add_documents(@documents)
4242
update_id = response['updateId']
4343
lambda {
44-
status = @index.wait_for_pending_update(update_id, timeout_in_ms=1)
44+
@index.wait_for_pending_update(update_id, 1)
4545
}.should raise_error(Timeout::Error)
4646
end
4747

@@ -50,8 +50,8 @@
5050
response = @index.add_documents(@documents)
5151
update_id = response['updateId']
5252
lambda {
53-
Timeout::timeout(0.1) do
54-
status = @index.wait_for_pending_update(update_id, timeout_in_ms=5000, interval_in_ms=200)
53+
Timeout.timeout(0.1) do
54+
@index.wait_for_pending_update(update_id, 5000, 200)
5555
end
5656
}.should raise_error(Timeout::Error)
5757
end

0 commit comments

Comments
 (0)