Skip to content

Commit

Permalink
update Chewy.massacre call
Browse files Browse the repository at this point in the history
  • Loading branch information
ql committed Aug 19, 2024
1 parent e20e12d commit 3da51c4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/chewy/minitest/helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ def index_everything!
teardown do
# always destroy indexes between tests
# Prevent croll pollution of test cases due to indexing
Chewy.massacre
drop_indices
end
end
end
Expand Down
2 changes: 1 addition & 1 deletion spec/chewy/elastic_client_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
let!(:filter_previous_value) { Chewy.before_es_request_filter }

before do
Chewy.massacre
drop_indices
stub_index(:products) do
field :id, type: :integer
end
Expand Down

0 comments on commit 3da51c4

Please sign in to comment.