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

16 lines
312 B
Ruby
Raw Normal View History

require File.dirname(__FILE__) + '/../../spec_helper'
describe 'S3.delete_bucket' do
2009-06-05 16:51:17 -07:00
before(:all) do
@s3 = Fog::AWS::S3.gen
@s3.put_bucket('fogdeletebucket')
end
2009-06-05 16:51:17 -07:00
it 'should return proper attributes' do
actual = @s3.delete_bucket('fogdeletebucket')
actual.status.should == 204
2009-06-05 16:51:17 -07:00
end
end