# File tests/drivers/openstack/hardware_profiles_test.rb, line 37 def test_04_it_returns_single_hardware_profile get_auth_url '/api;driver=openstack/hardware_profiles/1' (last_xml_response/'hardware_profile/name').first.text.should == '1' (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 == '0' end