Sha256: 3a59ba30f68845d9995acf50efe4eb86c2460ae621729dd744d8af97d9088a8b

Contents?: true

Size: 417 Bytes

Versions: 8

Compression:

Stored size: 417 Bytes

Contents

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

describe 'Storage.put_bucket' do
  describe 'success' do

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

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

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

  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fog-0.3.7 spec/aws/requests/storage/put_bucket_spec.rb
fog-0.3.6 spec/aws/requests/storage/put_bucket_spec.rb
fog-0.3.5 spec/aws/requests/s3/put_bucket_spec.rb
fog-0.3.4 spec/aws/requests/s3/put_bucket_spec.rb
fog-0.3.3 spec/aws/requests/s3/put_bucket_spec.rb
fog-0.3.2 spec/aws/requests/s3/put_bucket_spec.rb
fog-0.3.1 spec/aws/requests/s3/put_bucket_spec.rb
fog-0.3.0 spec/aws/requests/s3/put_bucket_spec.rb