spec/inputs/s3_spec.rb in logstash-input-s3-3.8.0 vs spec/inputs/s3_spec.rb in logstash-input-s3-3.8.1

- old
+ new

@@ -82,21 +82,21 @@ subject.send(:get_s3object) end end describe "additional_settings" do - context 'when force_path_style is set' do + context "supported settings" do let(:settings) { { - "additional_settings" => { "force_path_style" => true }, + "additional_settings" => { "force_path_style" => 'true', "ssl_verify_peer" => 'false', "profile" => 'logstash' }, "bucket" => "logstash-test", } } it 'should instantiate AWS::S3 clients with force_path_style set' do expect(Aws::S3::Resource).to receive(:new).with({ :region => subject.region, - :force_path_style => true + :force_path_style => true, :ssl_verify_peer => false, :profile => 'logstash' }).and_call_original subject.send(:get_s3object) end end