Skip to content

Commit

Permalink
[aws|storage] Fix put bucket website test, request returns not found …
Browse files Browse the repository at this point in the history
…when the bucket does not exist.
  • Loading branch information
pweldon committed Jan 18, 2012
1 parent 5f44609 commit 999aefb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/aws/requests/storage/bucket_tests.rb
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@
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

Expand Down

0 comments on commit 999aefb

Please sign in to comment.