File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
tests/spec/libs/allowed-amounts Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 225225 "items" : {
226226 "$ref" : " #/definitions/out_of_network"
227227 },
228- "default" : [],
229- "minItems" : 1
228+ "default" : []
230229 }
231230 },
232231 "if" : {
Original file line number Diff line number Diff line change @@ -116,10 +116,10 @@ def validate_with_errors(json_data)
116116 expect ( schemer . valid? ( invalid_data ) ) . to be_falsey
117117 end
118118
119- it "rejects empty out_of_network array" do
119+ it "allows for an empty out_of_network array" do
120120 invalid_data = valid_data . dup
121121 invalid_data [ "out_of_network" ] = [ ]
122- expect ( schemer . valid? ( invalid_data ) ) . to be_falsey
122+ expect ( schemer . valid? ( invalid_data ) ) . to be_truthy
123123 end
124124
125125 it "rejects empty payments array" do
You can’t perform that action at this time.
0 commit comments