From 6c375797c1c2373f608d40b7530f4ff279daf6ad Mon Sep 17 00:00:00 2001 From: Daniel Westendorf Date: Mon, 3 Jul 2017 08:32:41 -0600 Subject: [PATCH] Remove un-necessary search information from the Sku model --- test/test_helper.rb | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index eccf6e1..4fd167f 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -505,10 +505,7 @@ class Animal end class Sku - searchkick \ - text_start: [:name], - index_name: -> { "#{name.tableize}-#{Date.today.year}#{Searchkick.index_suffix}" }, - callbacks: defined?(ActiveJob) ? :async : true + searchkick callbacks: defined?(ActiveJob) ? :async : true end Product.searchkick_index.delete if Product.searchkick_index.exists? -- libgit2 0.21.0