spec/outputs/http_spec.rb in logstash-output-http-5.1.1 vs spec/outputs/http_spec.rb in logstash-output-http-5.1.2
- old
+ new
@@ -126,9 +126,15 @@
with(expected_method, url, anything).
and_call_original
allow(subject).to receive(:log_failure).with(any_args)
end
+ context 'sending no events' do
+ it 'should not block the pipeline' do
+ subject.multi_receive([])
+ end
+ end
+
context "performing a get" do
describe "invoking the request" do
before do
subject.multi_receive([event])
end