Skip to content

Commit e1bc3fd

Browse files
committed
Remove duplicated specs
1 parent 6433810 commit e1bc3fd

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

gems/aws-sdk-s3control/spec/client/arn_spec.rb

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -162,18 +162,6 @@ module S3Control
162162
end.to raise_error(ArgumentError)
163163
end
164164

165-
it 'raises when use_dualstack_endpoint is set' do
166-
client = Aws::S3Control::Client.new(
167-
stub_responses: true,
168-
region: 'us-west-2',
169-
use_dualstack_endpoint: true
170-
)
171-
arn = 'arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:accesspoint:myaccesspoint'
172-
expect do
173-
client.get_access_point(name: arn)
174-
end.to raise_error(ArgumentError)
175-
end
176-
177165
it 'raises when use_accelerate_endpoint is set' do
178166
# use_accelerate_endpoint is not supported in the S3Control client
179167
expect do
@@ -341,18 +329,6 @@ module S3Control
341329
end.to raise_error(ArgumentError)
342330
end
343331

344-
it 'raises when use_dualstack_endpoint is set' do
345-
client = Aws::S3Control::Client.new(
346-
stub_responses: true,
347-
region: 'us-west-2',
348-
use_dualstack_endpoint: true
349-
)
350-
arn = 'arn:aws:s3-outposts:us-west-2:123456789012:outpost:op-01234567890123456:bucket:mybucket'
351-
expect do
352-
client.get_bucket(bucket: arn)
353-
end.to raise_error(ArgumentError)
354-
end
355-
356332
it 'raises when the outpost resource is invalid' do
357333
client = Aws::S3Control::Client.new(
358334
stub_responses: true,

0 commit comments

Comments
 (0)