push
circleci
0 of 7 new or added lines in 4 files covered. (0.0%)
9770 existing lines in 228 files now uncovered.46 of 10128 relevant lines covered (0.45%)
0.01 hits per line
| 1 |
# frozen_string_literal: true
|
|
| 2 |
|
|
|
UNCOV
3
|
class EventProcessor |
× |
|
UNCOV
4
|
class DeleteProcessor < Processor |
× |
| 5 |
# rubocop:disable Naming/PredicateMethod
|
|
|
UNCOV
6
|
def process |
× |
|
UNCOV
7
|
index.delete_by_query "id:#{RSolr.solr_escape(id)}"
|
× |
|
UNCOV
8
|
index.commit unless bulk?
|
× |
|
UNCOV
9
|
true
|
× |
|
UNCOV
10
|
end
|
× |
| 11 |
# rubocop:enable Naming/PredicateMethod
|
|
|
UNCOV
12
|
end
|
× |
|
UNCOV
13
|
end
|
× |