Skip to content

Commit 03b57ed

Browse files
committed
Fix some null grpc hash things
1 parent a1b7a68 commit 03b57ed

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

spec/models/flow_spec.rb

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -36,31 +36,20 @@
3636
grpc_object = flow.to_grpc
3737

3838
expect(grpc_object.to_h).to eq({
39-
data_types: [],
4039
flow_id: flow.id,
4140
project_id: flow.project.id,
4241
type: flow.flow_type.identifier,
43-
input_type_identifier: flow.input_type&.identifier || '',
44-
return_type_identifier: flow.return_type&.identifier || '',
4542
starting_node: {
4643
database_id: flow.starting_node.id,
47-
next_node: nil,
4844
runtime_function_id: flow.starting_node.runtime_function.runtime_name,
4945
parameters: [
5046
{
5147
database_id: flow.starting_node.node_parameters.first.id,
5248
runtime_parameter_id:
5349
flow.starting_node.node_parameters.first.runtime_parameter.runtime_name,
54-
function_value: nil,
5550
literal_value: {
56-
bool_value: false,
57-
list_value: nil,
58-
null_value: :NULL_VALUE,
59-
number_value: 0.0,
6051
string_value: flow.starting_node.node_parameters.first.literal_value,
61-
struct_value: nil,
6252
},
63-
reference_value: nil,
6453
}
6554
],
6655
},
@@ -70,12 +59,7 @@
7059
object: {
7160
fields: {
7261
'some_key' => {
73-
bool_value: false,
74-
list_value: nil,
75-
null_value: :NULL_VALUE,
76-
number_value: 0.0,
7762
string_value: flow.flow_settings.first.object['some_key'],
78-
struct_value: nil,
7963
},
8064
},
8165
}

0 commit comments

Comments
 (0)