Commit 90c8812662b657ef56e2880421a70b64d15b5b3d
1 parent
29959a24
Exists in
master
and in
2 other branches
Always test queue mode [skip ci]
Showing
1 changed file
with
0 additions
and
6 deletions
Show diff stats
test/reindex_test.rb
@@ -30,8 +30,6 @@ class ReindexTest < Minitest::Test | @@ -30,8 +30,6 @@ class ReindexTest < Minitest::Test | ||
30 | end | 30 | end |
31 | 31 | ||
32 | def test_record_queue | 32 | def test_record_queue |
33 | - skip unless defined?(ActiveJob) && defined?(Redis) | ||
34 | - | ||
35 | reindex_queue = Product.searchkick_index.reindex_queue | 33 | reindex_queue = Product.searchkick_index.reindex_queue |
36 | reindex_queue.clear | 34 | reindex_queue.clear |
37 | 35 | ||
@@ -86,8 +84,6 @@ class ReindexTest < Minitest::Test | @@ -86,8 +84,6 @@ class ReindexTest < Minitest::Test | ||
86 | def test_relation_queue | 84 | def test_relation_queue |
87 | skip "Not available yet" | 85 | skip "Not available yet" |
88 | 86 | ||
89 | - skip unless defined?(ActiveJob) && defined?(Redis) | ||
90 | - | ||
91 | reindex_queue = Product.searchkick_index.reindex_queue | 87 | reindex_queue = Product.searchkick_index.reindex_queue |
92 | reindex_queue.clear | 88 | reindex_queue.clear |
93 | 89 | ||
@@ -192,8 +188,6 @@ class ReindexTest < Minitest::Test | @@ -192,8 +188,6 @@ class ReindexTest < Minitest::Test | ||
192 | end | 188 | end |
193 | 189 | ||
194 | def test_callbacks_queue | 190 | def test_callbacks_queue |
195 | - skip unless defined?(ActiveJob) && defined?(Redis) | ||
196 | - | ||
197 | # TODO figure out which earlier test leaves records in index | 191 | # TODO figure out which earlier test leaves records in index |
198 | Product.reindex | 192 | Product.reindex |
199 | 193 |