Skip to content

Commit d212505

Browse files
committed
[tests] change super to super() - jruby/jruby#6571
1 parent 4c335a3 commit d212505

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

spec/inputs/http_spec.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,7 @@
440440
end
441441

442442
context "with invalid cipher_suites" do
443-
let(:config) { super.merge("cipher_suites" => "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA38") }
443+
let(:config) { super().merge("cipher_suites" => "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA38") }
444444

445445
it "should raise a configuration error" do
446446
expect( subject.logger ).to receive(:error) do |msg, opts|
@@ -469,7 +469,7 @@
469469
end
470470

471471
context "with invalid ssl key config" do
472-
let(:config) { super.merge("ssl_key_passphrase" => "1234567890") }
472+
let(:config) { super().merge("ssl_key_passphrase" => "1234567890") }
473473

474474
it "should raise a configuration error" do
475475
expect( subject.logger ).to receive(:error) do |msg, opts|
@@ -482,7 +482,7 @@
482482

483483
context "with invalid ssl certificate_authorities" do
484484
let(:config) do
485-
super.merge("ssl_verify_mode" => "peer",
485+
super().merge("ssl_verify_mode" => "peer",
486486
"ssl_certificate_authorities" => [ ssc.certificate.path, ssc.private_key.path ])
487487
end
488488

0 commit comments

Comments
 (0)