Skip to content

Commit ed818b3

Browse files
committed
Add signature to test flow
1 parent db6ae55 commit ed818b3

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

gem/spec/support/protobuf_factories.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ def build_flow(node_functions:, starting_node_id: 1)
88
type: 'test',
99
starting_node_id: starting_node_id,
1010
node_functions: node_functions,
11-
project_slug: 'test'
11+
project_slug: 'test',
12+
signature: '(): void'
1213
)
1314
end
1415

gem/spec/triangulum/validation_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@
100100
result = described_class.new(flow, functions, data_types).validate
101101

102102
expect(result.valid?).to be true
103+
expect(result.diagnostics).to be_empty
103104
end
104105

105106
it 'returns diagnostics with node_id and parameter_index' do

0 commit comments

Comments
 (0)