spec/outputs/s3_spec.rb in logstash-output-s3-4.0.11 vs spec/outputs/s3_spec.rb in logstash-output-s3-4.0.12

- old
+ new

@@ -23,10 +23,10 @@ subject { described_class.new(options) } before do allow(subject).to receive(:bucket_resource).and_return(mock_bucket) - allow_any_instance_of(LogStash::Outputs::S3::WriteBucketPermissionValidator).to receive(:valid?).with(mock_bucket).and_return(true) + allow_any_instance_of(LogStash::Outputs::S3::WriteBucketPermissionValidator).to receive(:valid?).with(mock_bucket, subject.upload_options).and_return(true) end context "#register configuration validation" do describe "signature version" do it "should set the signature version if specified" do