We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4b19878 commit e2c9684Copy full SHA for e2c9684
aws-sdk-core/spec/aws/plugins/region_endpoint_spec.rb
@@ -6,7 +6,9 @@ module Plugins
6
7
let(:env) {{}}
8
9
- let(:metadata) {{}}
+ let(:metadata) {{
10
+ 'endpointPrefix' => 'PREFIX',
11
+ }}
12
13
let(:client_class) {
14
Seahorse::Client::Base.define(
@@ -79,7 +81,6 @@ module Plugins
79
81
describe 'endpoint option' do
80
82
83
it 'defaults the endpoint to PREFIX.REGION.amazonaws.com' do
- metadata['endpointPrefix'] = 'PREFIX'
84
client = client_class.new(region: 'REGION')
85
expect(client.config.endpoint.to_s).to eq('https://PREFIX.REGION.amazonaws.com')
86
end
0 commit comments