From f612019b75e4911d222a43475528a6c8bc68ef91 Mon Sep 17 00:00:00 2001 From: John Hernley Date: Tue, 5 Nov 2024 22:10:03 +0000 Subject: [PATCH] linting --- test/client/reindex_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/client/reindex_test.rb b/test/client/reindex_test.rb index d9cb5f94..127b1ed7 100644 --- a/test/client/reindex_test.rb +++ b/test/client/reindex_test.rb @@ -57,7 +57,7 @@ } reindex.reindex(body) new_index = $client.index("non_existent_index") - assert new_index.exists? + assert_predicate(new_index, :exists?) end it "fails when the source index does not exist" do @@ -66,7 +66,7 @@ source: { index: "non_existent_index" }, dest: { index: @dest_index.name } } - + exception = assert_raises(ElastomerClient::Client::RequestError) do response = reindex.reindex(body) end