spec/outputs/tcp_spec.rb in logstash-output-tcp-6.0.0 vs spec/outputs/tcp_spec.rb in logstash-output-tcp-6.0.1

- old
+ new

@@ -8,11 +8,11 @@ "host" => "localhost", "port" => 2000 + rand(3000), } } context "when enabling SSL" do - let(:config) { super.merge("ssl_enable" => true) } + let(:config) { super().merge("ssl_enable" => true) } context "and not providing a certificate/key pair" do it "registers without error" do expect { subject.register }.to_not raise_error end end @@ -22,10 +22,10 @@ let(:cert_file) do path = Tempfile.new('foo').path IO.write(path, certificate.to_s) path end - let(:config) { super.merge("ssl_cert" => true, "ssl_cert" => cert_file) } + let(:config) { super().merge("ssl_cert" => true, "ssl_cert" => cert_file) } it "registers without error" do expect { subject.register }.to_not raise_error end end end