spec/integration/outputs/sqs_spec.rb in logstash-output-sqs-5.1.1 vs spec/integration/outputs/sqs_spec.rb in logstash-output-sqs-5.1.2

- old
+ new

@@ -45,9 +45,17 @@ it 'raises a configuration error' do expect { subject.register }.to raise_error(LogStash::ConfigurationError) end end + context 'with a nonpermissive account id' do + let(:config) { super.merge('queue_owner_aws_account_id' => '123456789012')} + + it 'raises a configuration error' do + expect { subject.register }.to raise_error(LogStash::ConfigurationError) + end + end + context 'with valid configuration' do it 'does not raise an error' do expect { subject.register }.not_to raise_error end end