Commit 6c375797c1c2373f608d40b7530f4ff279daf6ad

Authored by Daniel Westendorf
1 parent d7250f02

Remove un-necessary search information from the Sku model

Showing 1 changed file with 1 additions and 4 deletions   Show diff stats
test/test_helper.rb
@@ -505,10 +505,7 @@ class Animal @@ -505,10 +505,7 @@ class Animal
505 end 505 end
506 506
507 class Sku 507 class Sku
508 - searchkick \  
509 - text_start: [:name],  
510 - index_name: -> { "#{name.tableize}-#{Date.today.year}#{Searchkick.index_suffix}" },  
511 - callbacks: defined?(ActiveJob) ? :async : true 508 + searchkick callbacks: defined?(ActiveJob) ? :async : true
512 end 509 end
513 510
514 Product.searchkick_index.delete if Product.searchkick_index.exists? 511 Product.searchkick_index.delete if Product.searchkick_index.exists?