- way = amf_result("/1")
- assert_equal 0, way[0]
- assert_equal "", way[1]
- assert_equal id, way[2]
- assert_equal 3, way[3].length
- assert_equal 4, way[3][0][2]
- assert_equal 15, way[3][1][2]
- assert_equal 11, way[3][2][2]
- assert_equal 2, way[5]
- assert_equal 2, way[6]
+ result = amf_result("/1")
+ assert_equal 0, result[0]
+ assert_equal "", result[1]
+ assert_equal way.id, result[2]
+ assert_equal 3, result[3].length
+ assert_equal a, result[3][0][2]
+ assert_equal b, result[3][1][2]
+ assert_equal c, result[3][2][2]
+ assert_equal way.version, result[5]
+ assert_equal user.id, result[6]