1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

[storage|aws] add tests for static website stuff

This commit is contained in:
geemus 2011-03-14 14:33:08 -07:00
parent 9e041d3afe
commit c96ca14a9e

View file

@ -61,6 +61,16 @@ Shindo.tests('AWS::Storage | bucket requests', ['aws']) do
AWS[:storage].put_request_payment('fogbuckettests', 'Requester')
end
tests("#put_bucket_website('fogbuckettests', 'index.html')").succeeds do
pending if Fog.mocking?
AWS[:storage].put_bucket_website('fogbuckettests', 'index.html')
end
tests("#delete_bucket_website('fogbuckettests')").succeeds do
pending if Fog.mocking?
AWS[:storage].delete_bucket_website('fogbuckettests')
end
tests("#delete_bucket('fogbuckettests')").succeeds do
AWS[:storage].delete_bucket('fogbuckettests')
end