Skip to content

Commit 96eb956

Browse files
committed
[ci skip] Removing duplicate test
1 parent eafc929 commit 96eb956

File tree

1 file changed

+4
-10
lines changed

1 file changed

+4
-10
lines changed

spec/unit/outputs/elasticsearch_spec.rb

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -705,12 +705,6 @@
705705
include_examples("an encrypted client connection")
706706
end
707707

708-
context "With the 'ssl_enabled' option" do
709-
let(:options) { {"ssl_enabled" => true}}
710-
711-
include_examples("an encrypted client connection")
712-
end
713-
714708
context "With an https host" do
715709
let(:options) { {"hosts" => "https://localhost"} }
716710
include_examples("an encrypted client connection")
@@ -731,15 +725,15 @@
731725
File.delete(cacert)
732726
end
733727

734-
it 'should map new configs into params' do
728+
it "should map new configs into params" do
735729
expect(subject.params).to match hash_including(
736730
"ssl_enabled" => true,
737731
"ssl_verification_mode" => "none",
738732
"ssl_certificate_authorities" => [cacert]
739733
)
740734
end
741735

742-
it 'should set new configs variables' do
736+
it "should set new configs variables" do
743737
expect(subject.instance_variable_get(:@ssl_enabled)).to eql(true)
744738
expect(subject.instance_variable_get(:@ssl_verification_mode)).to eql("none")
745739
expect(subject.instance_variable_get(:@ssl_certificate_authorities)).to eql([cacert])
@@ -769,7 +763,7 @@
769763
File.delete(truststore)
770764
end
771765

772-
it 'should map new configs into params' do
766+
it "should map new configs into params" do
773767
expect(subject.params).to match hash_including(
774768
"ssl_enabled" => true,
775769
"ssl_keystore_path" => keystore,
@@ -781,7 +775,7 @@
781775
expect(subject.params["ssl_truststore_password"].value).to eql("truststore")
782776
end
783777

784-
it 'should set new configs variables' do
778+
it "should set new configs variables" do
785779
expect(subject.instance_variable_get(:@ssl_enabled)).to eql(true)
786780
expect(subject.instance_variable_get(:@ssl_keystore_path)).to eql(keystore)
787781
expect(subject.instance_variable_get(:@ssl_keystore_password).value).to eql("keystore")

0 commit comments

Comments
 (0)