test/reindex_test.rb in searchkick-2.1.1 vs test/reindex_test.rb in searchkick-2.2.0
- old
+ new
@@ -1,20 +1,20 @@
require_relative "test_helper"
class ReindexTest < Minitest::Test
def test_scoped
- skip if nobrainer?
+ skip if nobrainer? || cequel?
store_names ["Product A"]
Searchkick.callbacks(false) do
store_names ["Product B", "Product C"]
end
Product.where(name: "Product B").reindex(refresh: true)
assert_search "product", ["Product A", "Product B"]
end
def test_associations
- skip if nobrainer?
+ skip if nobrainer? || cequel?
store_names ["Product A"]
store = Store.create!(name: "Test")
Product.create!(name: "Product B", store_id: store.id)
store.products.reindex(refresh: true)