spec/unit/rule/set_spec.rb in dry-logic-0.2.3 vs spec/unit/rule/set_spec.rb in dry-logic-0.3.0

- old
+ new

@@ -19,11 +19,11 @@ describe '#to_ast' do it 'returns an array representation' do expect(rule.to_ast).to eql([ :set, [ - [:val, [:predicate, [:str?, []]]], - [:val, [:predicate, [:min_size?, [6]]]] + [:val, [:predicate, [:str?, [[:input, Predicate::Undefined]]]]], + [:val, [:predicate, [:min_size?, [[:num, 6], [:input, Predicate::Undefined]]]]] ] ]) end end end