Sha256: b28ea24cdd9d350a59c846b0e9e246509c7671705ec2729e2d2f48dd17e3be17

Contents?: true

Size: 397 Bytes

Versions: 102

Compression:

Stored size: 397 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper'

describe 'S3.put_bucket' do
  describe 'success' do

    before(:each) do
      @response = AWS[:s3].put_bucket('fogputbucket')
    end

    after(:each) do
      AWS[:s3].delete_bucket('fogputbucket')
    end

    it 'should not raise an error if the bucket already exists' do
      AWS[:s3].put_bucket('fogputbucket')
    end

  end
end

Version data entries

102 entries across 102 versions & 2 rubygems

Version Path
fog-0.0.42 spec/aws/requests/s3/put_bucket_spec.rb
fog-0.0.41 spec/aws/requests/s3/put_bucket_spec.rb