• drew's avatar
    Refactored Entry::Rules::Rule validation for when: · f2c5cb13
    drew authored
    Separated class-level validation from a class constant, which lists all
    allowable values, from instance-level validation via factory metadata
    providing the allowed values (subset of class constant) for that
    specific instance.
    
    Added validation specs for both created and composed entries.
    f2c5cb13
rule.rb 1.61 KB