Sha256: aa633e153732a85c7e74a3d33d7f5666005d0d51fdde0b57836e372fde1ae1df
Contents?: true
Size: 422 Bytes
Versions: 12
Compression:
Stored size: 422 Bytes
Contents
require 'dry/logic/predicates' RSpec.describe Dry::Logic::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
12 entries across 12 versions & 1 rubygems