test/test_pipeline.rb in tracksperanto-2.6.3 vs test/test_pipeline.rb in tracksperanto-2.7.0
- old
+ new
@@ -50,11 +50,11 @@
processing_log << ("%d -> %s\n" % [percent, message])
end
pipeline = Tracksperanto::Pipeline::Base.new(:progress_block => accum)
assert_nothing_raised { pipeline.run(@stabilizer) }
- reference = File.read(File.dirname(__FILE__) + "/fixtures/processing_log.txt")
- assert_equal reference, processing_log, "The log output should be the same"
+ assert processing_log.include?("Parsing the file")
+ assert processing_log.include?("Parsing channel \"tracker1/ref/y\"")
end
def test_run_crashes_with_empty_file
empty_file_path = "./input_empty.stabilizer"
f = File.open(empty_file_path, "w"){|f| f.write('') }
\ No newline at end of file