# File tests/drivers/rhevm/api_test.rb, line 19 def test_02_it_has_rhevm_features get_url '/api;driver=rhevm' features = (last_xml_response/'/api/link[@rel="instances"]/feature').collect { |f| f[:name] } features.include?('user_name').should == true features.include?('hardware_profiles').should == true features.length.should == 3 end