# File tests/drivers/rhevm/api_test.rb, line 27 def test_03_it_has_rhevm_collections get_url '/api;driver=rhevm' 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?('realms').should == true collections.include?('hardware_profiles').should == true collections.length.should == 8 end