spec/support/test_app.rb in request-tracer-0.6.3 vs spec/support/test_app.rb in request-tracer-0.6.4
- old
+ new
@@ -20,8 +20,8 @@
[ 500, {'Content-Type' => "text/txt"}, ["Unrecognized path #{req.path}"]]
end
end
def store_current_trace_info
- $stderr.puts "%%% #{(Time.now.to_f * 1000).to_i} #{RequestTracer::Trace.latest.to_json}"
+ $stderr.puts "%%% #{(Time.now.to_f * 1000).to_i} #{RequestTracer.latest_trace_hash.to_json}"
end
end