Sha256: ca678caddb23767b9b71375b3efafd0b3801cca5ca35bd3cffbafedfcf8fb35d
Contents?: true
Size: 432 Bytes
Versions: 6
Compression:
Stored size: 432 Bytes
Contents
require 'dry/validation/predicates' RSpec.describe Dry::Validation::Predicates, '#eql?' do let(:predicate_name) { :eql? } context 'when value is equal to the arg' do let(:arguments_list) do [['Foo', 'Foo']] end it_behaves_like 'a passing predicate' end context 'with value is not empty' do let(:arguments_list) do [['Bar', 'Foo']] end it_behaves_like 'a failing predicate' end end
Version data entries
6 entries across 6 versions & 1 rubygems