# File tests/drivers/rackspace/buckets_test.rb, line 17 def test_01_it_can_create_new_bucket params = { :name => @@created_bucket_name, 'api[driver]''api[driver]' => 'rackspace' } post_url '/api/buckets', params last_response.status.should == 201 # Created bucket = last_xml_response check_bucket_basics(bucket) (bucket/'bucket/size').first.text.should == "0" end