# File tests/drivers/rackspace/api_test.rb, line 28 def test_03_it_has_rackspace_collections get_url '/api;driver=rackspace' collections = (last_xml_response/'/api/link').collect { |f| f[:rel] } collections.include?('instance_states').should == true collections.include?('instances').should == true collections.include?('images').should == true collections.include?('buckets').should == true collections.include?('realms').should == true collections.include?('hardware_profiles').should == true collections.length.should == 7 end