mirror of
https://github.com/fog/fog.git
synced 2022-11-09 13:51:43 -05:00
[aws|storage] Fix put bucket website test, request returns not found when the bucket does not exist.
This commit is contained in:
parent
5f44609108
commit
999aefbdde
1 changed files with 1 additions and 1 deletions
|
@ -221,7 +221,7 @@ Shindo.tests('Fog::Storage[:aws] | bucket requests', [:aws]) do
|
|||
Fog::Storage[:aws].put_bucket_acl('fognonbucket', 'invalid')
|
||||
end
|
||||
|
||||
tests("#put_bucket_website('fognonbucket', 'index.html')").raises(Excon::Errors::Forbidden) do
|
||||
tests("#put_bucket_website('fognonbucket', 'index.html')").raises(Excon::Errors::NotFound) do
|
||||
Fog::Storage[:aws].put_bucket_website('fognonbucket', 'index.html')
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue