Commit 3f77e720 authored by Matt Todd's avatar Matt Todd

Output is already in the payload

parent fdc00ca1
......@@ -113,8 +113,8 @@ module HTML
def perform_filter(filter, doc, context, result)
payload = default_payload :filter =>,
:doc => doc, :context => context, :result => result
instrument "call_filter.html_pipeline", payload do |payload|
payload[:output] =, context, result)
instrument "call_filter.html_pipeline", payload do, context, result)
......@@ -26,7 +26,7 @@ class HTML::PipelineTest < Test::Unit::TestCase
assert_equal, payload[:filter]
assert_equal, payload[:pipeline]
assert_equal body, payload[:doc]
assert_equal body.reverse, payload[:output]
assert_equal body.reverse, payload[:result][:output]
def test_pipeline_instrumentation
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment