Skip to content

Commit

Permalink
[Enhance tests][Auth & Connectivity scenarios] Test that API can be a…
Browse files Browse the repository at this point in the history
…ccessed using valid credentials
  • Loading branch information
chushenmeshile authored and xiaozhu36 committed Jun 23, 2020
1 parent 1e7f175 commit 4517169
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/fog/integration_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -531,6 +531,10 @@
@conn.delete_bucket('directory-test2'+b6)
end

it 'Should can be accessed using valid credentials' do
expect(@conn.list_objects['Name']).to include(@conn.aliyun_oss_bucket)
end

# Test region is selected according to provider configuration
# check default region is used if no region provided explicitly
# There is need to set a env variable to support setting oss default bucket
Expand Down

0 comments on commit 4517169

Please sign in to comment.