# File tests/drivers/rhevm/hardware_profiles_test.rb, line 37 def test_04_it_returns_single_hardware_profile get_auth_url '/api;driver=rhevm/hardware_profiles/DESKTOP' (last_xml_response/'hardware_profile/name').first.text.should == 'DESKTOP' (last_xml_response/'hardware_profile/property[@name="architecture"]').first[:value].should == 'x86_64' (last_xml_response/'hardware_profile/property[@name="memory"]').first[:value].should == '512' (last_xml_response/'hardware_profile/property[@name="storage"]').first[:value].should == '1' end