test/helper.rb in tracksperanto-2.1.1 vs test/helper.rb in tracksperanto-2.2.0
- old
+ new
@@ -76,14 +76,9 @@
export_parabolics_with(x)
end
end
def ensure_same_output(exporter_klass, reference_path, message = "The line should be identical")
- if ENV['OVERWRITE']
- File.open(reference_path, "w") do | out |
- export_parabolics_with(exporter_klass.new(out))
- end
- end
io = StringIO.new
x = exporter_klass.new(io)
yield(x) if block_given?
export_parabolics_with(x)
\ No newline at end of file