You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spec/workflow/choice_rule_spec.rb
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -133,7 +133,7 @@
133
133
let(:input){{}}
134
134
135
135
it"raises an exception"do
136
-
expect{subject}.toraise_exception(Floe::PathError,"Path [$.foo] references an invalid value")
136
+
expect{subject}.toraise_exception(Floe::ExecutionError,"States.Choice1.Choices.0.Data field \"Variable\" value \"$.foo\" references an invalid value")
137
137
end
138
138
end
139
139
@@ -396,7 +396,7 @@
396
396
397
397
context"with path not found"do
398
398
let(:input){{"foo"=>2}}
399
-
it{expect{subject}.toraise_error(Floe::PathError,"Path [$.bar] references an invalid value")}
399
+
it{expect{subject}.toraise_exception(Floe::ExecutionError,"States.Choice1.Choices.0.Data field \"NumericEqualsPath\" value \"$.bar\" references an invalid value")}
400
400
end
401
401
end
402
402
@@ -581,7 +581,7 @@
581
581
582
582
context"that does not exist"do
583
583
let(:input){{}}
584
-
it{expect{subject}.toraise_exception(Floe::PathError,"Path [$.foo] references an invalid value")}
584
+
it{expect{subject}.toraise_exception(Floe::ExecutionError,"States.Choice1.Choices.0.Data field \"Variable\" value \"$.foo\" references an invalid value")}
0 commit comments