Skip to content

Commit 42b724b

Browse files
committed
Fix some test
1 parent 375f7ad commit 42b724b

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

docs/graphql/object/runtimefunctiondefinition.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Represents a runtime function definition
1212
| `functionDefinitions` | [`FunctionDefinitionConnection`](../object/functiondefinitionconnection.md) | Function definitions of the runtime function definition |
1313
| `id` | [`RuntimeFunctionDefinitionID!`](../scalar/runtimefunctiondefinitionid.md) | Global ID of this RuntimeFunctionDefinition |
1414
| `identifier` | [`String!`](../scalar/string.md) | Identifier of the runtime function definition |
15-
| `parameters` | [`RuntimeParameterDefinitionConnection`](../object/runtimeparameterdefinitionconnection.md) | Parameter definitions of the runtime function definition |
1615
| `runtime` | [`Runtime!`](../object/runtime.md) | The runtime this runtime function definition belongs to |
16+
| `runtimeParameterDefinitions` | [`RuntimeParameterDefinitionConnection`](../object/runtimeparameterdefinitionconnection.md) | Parameter definitions of the runtime function definition |
1717
| `updatedAt` | [`Time!`](../scalar/time.md) | Time when this RuntimeFunctionDefinition was last updated |
1818

spec/graphql/types/runtime_function_definition_type_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
id
99
identifier
1010
functionDefinitions
11-
parameters
11+
runtimeParameterDefinitions
1212
runtime
1313
createdAt
1414
updatedAt
@@ -17,5 +17,5 @@
1717

1818
it { expect(described_class.graphql_name).to eq('RuntimeFunctionDefinition') }
1919
it { expect(described_class).to have_graphql_fields(fields) }
20-
it { expect(described_class).to require_graphql_authorizations(:read_runtime) }
20+
it { expect(described_class).to require_graphql_authorizations(:read_runtime_function_definition) }
2121
end

spec/graphql/types/runtime_parameter_definition_type_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
it { expect(described_class.graphql_name).to eq('RuntimeParameterDefinition') }
1616
it { expect(described_class).to have_graphql_fields(fields) }
17-
it { expect(described_class).to require_graphql_authorizations(:read_runtime) }
17+
it { expect(described_class).to require_graphql_authorizations(:read_runtime_parameter_definition) }
1818
end

0 commit comments

Comments
 (0)