spec/core/filtering/filter_validator_spec.rb [418:430]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            context 'when one post-processing validator returns invalid' do
              before do
                # returns invalid
                allow(post_processing_rule_validator_one_instance).to receive(:are_rules_valid).and_return(invalid_filtering_validation_result)
                # returns valid
                allow(post_processing_rule_validator_two_instance).to receive(:are_rules_valid).and_return(valid_filtering_validation_result)
              end

              it_behaves_like 'filtering is invalid'

              it_behaves_like 'logs a warning'
            end
          end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



spec/core/filtering/filter_validator_spec.rb [437:450]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            context 'when one post-processing validator returns invalid' do
              before do
                # returns invalid
                allow(post_processing_rule_validator_one_instance).to receive(:are_rules_valid).and_return(invalid_filtering_validation_result)
                # returns valid
                allow(post_processing_rule_validator_two_instance).to receive(:are_rules_valid).and_return(valid_filtering_validation_result)
              end

              # should still be invalid as we always execute post processing
              it_behaves_like 'filtering is invalid'

              it_behaves_like 'logs a warning'
            end
          end
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



