+
+
+ def test_parse_file_path_from_xml
+ hc = Howcast.new(nil)
+
+ page_data = nil
+
+ File.open('test/fixtures/howcast/81134.xml') do |f|
+ page_data = f.read
+ end
+
+ test_result = hc.send('parse_file_path_from_xml', page_data)
+ assert_equal('/system/videos/4/34/11/08/81134.flv', test_result)
+ end
+