From 272c829c9a3b29d8b047db8d64d6203133619978 Mon Sep 17 00:00:00 2001 From: Andrew Date: Fri, 10 Aug 2018 11:19:40 -0700 Subject: [PATCH] Added failing test for deletes with routing and queue callback [skip ci] --- test/routing_test.rb | 10 ++++++++++ 1 file changed, 10 insertions(+), 0 deletions(-) diff --git a/test/routing_test.rb b/test/routing_test.rb index b996af1..ad5c820 100644 --- a/test/routing_test.rb +++ b/test/routing_test.rb @@ -29,4 +29,14 @@ class RoutingTest < Minitest::Test Song.destroy_all end end + + def test_routing_queue + skip # unless defined?(ActiveJob) && defined?(Redis) + + with_options(Song, routing: true, callbacks: :queue) do + store_names ["Dollar Tree"], Song + Song.destroy_all + Searchkick::ProcessQueueJob.perform_later(class_name: "Song") + end + end end -- libgit2 0.21.0