Sha256: feb02b89a81e13f83246b15c79edd30474f483ea62995b4d3c2377a5b7542868
Contents?: true
Size: 602 Bytes
Versions: 14
Compression:
Stored size: 602 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'Rackspace::Storage.delete_container' do describe 'success' do before(:each) do Rackspace[:storage].put_container('container_name') end it "should return proper attributes" do Rackspace[:storage].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[:storage].delete_container('container_name') end.should raise_error(Fog::Rackspace::Storage::NotFound) end end end
Version data entries
14 entries across 14 versions & 1 rubygems