spec/outputs/s3_spec.rb in logstash-output-s3-4.0.5 vs spec/outputs/s3_spec.rb in logstash-output-s3-4.0.6
- old
+ new
@@ -31,16 +31,16 @@
context "#register configuration validation" do
describe "signature version" do
it "should set the signature version if specified" do
["v2", "v4"].each do |version|
s3 = described_class.new(options.merge({ "signature_version" => version }))
- expect(s3.full_options).to include(:s3_signature_version => version)
+ expect(s3.full_options).to include(:signature_version => version)
end
end
it "should omit the option completely if not specified" do
s3 = described_class.new(options)
- expect(s3.full_options.has_key?(:s3_signature_version)).to eql(false)
+ expect(s3.full_options.has_key?(:signature_version)).to eql(false)
end
end
describe "Access control list" do
context "when configured" do