def test_03_each_hardware_profile_has_correct_properties
get_auth_url '/api;driver=rhevm/hardware_profiles'
(last_xml_response/'hardware_profiles/hardware_profile').each do |profile|
(profile/'property[@name="architecture"]').first[:value].should == 'x86_64'
(profile/'property[@name="memory"]').first[:unit].should == 'MB'
(profile/'property[@name="memory"]').first[:kind].should == 'range'
(profile/'property[@name="storage"]').first[:unit].should == 'GB'
(profile/'property[@name="storage"]').first[:kind].should == 'range'
end
end