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 c09e0ad commit 1dcbc8cCopy full SHA for 1dcbc8c
gems/aws-sdk-s3control/spec/client/dualstack_spec.rb
@@ -88,6 +88,19 @@ module S3Control
88
"https://12345.s3-control.dualstack.cn-north-1.amazonaws.com.cn"
89
)
90
end
91
+
92
+ it 'works with operations that use a path' do
93
+ # from a prior bug
94
+ client = Client.new(
95
+ stub_responses: true,
96
+ region: 'us-east-1',
97
+ use_dualstack_endpoint: true
98
+ )
99
+ resp = client.get_access_point(name: 'accesspoint', account_id: '12345')
100
+ expect(resp.context.http_request.endpoint.to_s).to match(
101
+ 'https://12345.s3-control.dualstack.us-east-1.amazonaws.com/v20180820/accesspoint/accesspoint'
102
103
+ end
104
105
106
0 commit comments