dry-validation/spec/unit
Brandon Autrey 035f880730 Skip processing `rule.each` on optional value when input is nil
When a key has a `maybe` macro, nil values are valid. However, if a
`rule.each` is specified on that key, an error is throw saying:

```
`block in each': undefined method `each_with_index' for nil:NilClass (NoMethodError)
```
2022-05-11 10:22:00 +03:00
..
rule_spec.rb Skip processing `rule.each` on optional value when input is nil 2022-05-11 10:22:00 +03:00
values_spec.rb Fix Undefined method `key?' for nil:NilClass error. 2020-09-17 14:00:32 +03:00