Sha256: 2eda3ca3c138f5f423e19dfbec39dcc598786cd53616104d7b913c86631c8b47
Contents?: true
Size: 584 Bytes
Versions: 102
Compression:
Stored size: 584 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'Rackspace::Files.delete_container' do describe 'success' do before(:each) do Rackspace[:files].put_container('container_name') end it "should return proper attributes" do Rackspace[:files].delete_container('container_name') end end describe 'failure' do it "should raise a NotFound error if the container does not exist" do lambda do Rackspace[:files].delete_container('container_name') end.should raise_error(Excon::Errors::NotFound) end end end
Version data entries
102 entries across 102 versions & 2 rubygems