Skip to content

Commit

Permalink
in Generate, test that we get the :structure variable which is re…
Browse files Browse the repository at this point in the history
…quired

in the `Collaboration()` builder.
  • Loading branch information
apotonick committed Apr 10, 2024
1 parent b96245a commit 80fde80
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/generate_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ class GenerateTest < Minitest::Spec

signal, (ctx, _) = Trailblazer::Workflow::Generate.invoke([{json_document: moderation_json}, {}])

#@ test {:structure}, which is the directly parsed graph
assert_equal ctx[:structure].messages.size, 18

lanes = ctx[:intermediates]

# pp lanes
Expand Down

0 comments on commit 80fde80

Please sign in to comment.