Sha256: 4a6210e9928090773586bad45a594ae7c2b9dd6e4697901376499d5bd13538b4
Contents?: true
Size: 491 Bytes
Versions: 16
Compression:
Stored size: 491 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'Storage.put_bucket' do describe 'success' do before(:each) do @response = Google[:storage].put_bucket('fogputbucket') end after(:each) do Google[:storage].delete_bucket('fogputbucket') end it 'should raise an error if the bucket already exists' do lambda { Google[:storage].put_bucket('fogputbucket') }.should raise_error(Excon::Errors::Conflict) end end end
Version data entries
16 entries across 16 versions & 1 rubygems