Sha256: cd78addea8b29bc4d20dd5d564ebef8cf480b2cb23a09decd8218288bf57456f
Contents?: true
Size: 574 Bytes
Versions: 14
Compression:
Stored size: 574 Bytes
Contents
require File.dirname(__FILE__) + '/../../../spec_helper' describe 'Rackspace::Storage.get_containers' do describe 'success' do before(:each) do Rackspace[:storage].put_container('container_name') end after(:each) do Rackspace[:storage].delete_container('container_name') end it "should return proper attributes" do actual = Rackspace[:storage].get_containers.body actual.first['bytes'].should be_an(Integer) actual.first['count'].should be_an(Integer) actual.first['name'].should be_a(String) end end end
Version data entries
14 entries across 14 versions & 1 rubygems