Skip to content

Commit

Permalink
linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jherns committed Nov 5, 2024
1 parent dcc7552 commit f612019
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/client/reindex_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit f612019

Please sign in to comment.