From c96ca14a9eb50f8dd2c15e5ab01cc655381e91a1 Mon Sep 17 00:00:00 2001 From: geemus Date: Mon, 14 Mar 2011 14:33:08 -0700 Subject: [PATCH] [storage|aws] add tests for static website stuff --- tests/storage/requests/aws/bucket_tests.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/tests/storage/requests/aws/bucket_tests.rb b/tests/storage/requests/aws/bucket_tests.rb index c86a97eab..87c2853c3 100644 --- a/tests/storage/requests/aws/bucket_tests.rb +++ b/tests/storage/requests/aws/bucket_tests.rb @@ -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