Skip to content

Commit e2c9684

Browse files
committed
Test fix.
1 parent 4b19878 commit e2c9684

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

aws-sdk-core/spec/aws/plugins/region_endpoint_spec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ module Plugins
66

77
let(:env) {{}}
88

9-
let(:metadata) {{}}
9+
let(:metadata) {{
10+
'endpointPrefix' => 'PREFIX',
11+
}}
1012

1113
let(:client_class) {
1214
Seahorse::Client::Base.define(
@@ -79,7 +81,6 @@ module Plugins
7981
describe 'endpoint option' do
8082

8183
it 'defaults the endpoint to PREFIX.REGION.amazonaws.com' do
82-
metadata['endpointPrefix'] = 'PREFIX'
8384
client = client_class.new(region: 'REGION')
8485
expect(client.config.endpoint.to_s).to eq('https://PREFIX.REGION.amazonaws.com')
8586
end

0 commit comments

Comments
 (0)