# File tests/drivers/mock/hardware_profiles_test.rb, line 47 def test_hardware_profiles_have_unique_name get_auth_url '/api/hardware_profiles' names = [] (last_xml_response/'hardware_profiles/hardware_profile').each do |profile| names << (profile/'name').text end names.should == names.uniq end