test/trace_test.rb in trailblazer-operation-0.2.2 vs test/trace_test.rb in trailblazer-operation-0.2.3
- old
+ new
@@ -10,10 +10,10 @@
end
end
class Create < Trailblazer::Operation
step ->(options, a_return:, **) { options[:a] = a_return }, id: "Create.task.a"
- step( {task: B, id: "MyNested"}, B.outputs[:success] => :success )
+ step( {task: B, id: "MyNested"}, B.outputs[:success] => Track(:success) )
step ->(options, **) { options[:c] = true }, id: "Create.task.c"
step ->(options, params:, **) { params.any? }, id: "Create.task.params"
def self.call( (options, flow_options), **circuit_options )
__call__( [Trailblazer::Context(options), flow_options], circuit_options ) # FIXME.