test/import/test_3de_import3.rb in tracksperanto-2.1.1 vs test/import/test_3de_import3.rb in tracksperanto-2.2.0
- old
+ new
@@ -10,11 +10,11 @@
end
def test_parsing_from_importable
fixture = File.open(File.dirname(__FILE__) + '/samples/3de_v3/3de_export_v3.txt')
- parser = Tracksperanto::Import::Equalizer3.new
- trackers = parser.parse(fixture)
+ parser = Tracksperanto::Import::Equalizer3.new(:io => fixture)
+ trackers = parser.to_a
assert_equal 2048, parser.width
assert_equal 778, parser.height
assert_equal 39, trackers.length
\ No newline at end of file