Skip to content

Commit

Permalink
adjust test.
Browse files Browse the repository at this point in the history
  • Loading branch information
apotonick committed Dec 11, 2023
1 parent 8d0f4dd commit eae23f5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/collaboration_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,5 +157,7 @@ class CollaborationTest < Minitest::Spec
assert_equal configuration.lane_positions.values.inspect, %([#<Trailblazer::Workflow::Event::Suspend resumes=["catch-before-#{update_id}", "catch-before-#{notify_id}"] type=:suspend semantic=[:suspend, "suspend-Gateway_0fnbg3r"]>, \
#<Trailblazer::Workflow::Event::Suspend resumes=["catch-before-#{ui_update_form}", "catch-before-#{ui_notify_approver}"] type=:suspend semantic=[:suspend, "suspend-Gateway_0kknfje"]>])
assert_equal ctx.inspect, %({:seq=>[:create, :create]})
# we can actually see the last signal and its semantic is {[:suspend, "suspend-Gateway_0kknfje"]}
assert_equal configuration.signal.inspect, %(#<Trailblazer::Workflow::Event::Suspend resumes=["catch-before-Activity_1165bw9", "catch-before-Activity_1dt5di5"] type=:suspend semantic=[:suspend, "suspend-Gateway_0kknfje"]>)
end
end

0 comments on commit eae23f5

Please sign in to comment.