spec/configuration_spec.rb in pheme-5.1.1 vs spec/configuration_spec.rb in pheme-5.1.2
- old
+ new
@@ -32,11 +32,11 @@
expect { subject }.to raise_error(StandardError)
end
end
context 'all mandatory attributes provided' do
- let(:sns_client) { instance_double('Aws::SNS::Client') }
- let(:sqs_client) { instance_double('Aws::SQS::Client') }
+ let(:sns_client) { instance_double(Aws::SNS::Client) }
+ let(:sqs_client) { instance_double(Aws::SQS::Client) }
before do
allow(sns_client).to receive(:is_a?).with(Aws::SNS::Client).and_return(true)
allow(sqs_client).to receive(:is_a?).with(Aws::SQS::Client).and_return(true)