diff --git a/lib/trailblazer/activity/testing.rb b/lib/trailblazer/activity/testing.rb index d44e10f..ee5f46e 100644 --- a/lib/trailblazer/activity/testing.rb +++ b/lib/trailblazer/activity/testing.rb @@ -82,9 +82,7 @@ def assert_call_for(signal, ctx, terminus: :success, seq: "[]", **ctx_variables) def assert_process_for(process, *args) semantics, circuit = args[0..-2], args[-1] - inspects = semantics.collect { |semantic| %(#, semantic=#{semantic.inspect}>) } - - assert_equal %([#{inspects.join(", ")}]), process.to_h[:outputs].inspect + assert_equal semantics.sort, process.to_h[:outputs].collect { |output| output[:semantic] }.sort assert_circuit(process, circuit)